Author Topic: The "New" New Darwinbots Installer  (Read 10099 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
The "New" New Darwinbots Installer
« on: March 18, 2012, 10:56:38 AM »
I have decided to create a new darwinbots installer that includes .ocx files using Visual Studio 6 "Package & Deployment Wizard."

I have already tested the concept on my windows vista machine.

I would also like to add a bunch of settings files based on the robots Shasta has provided. (see attachment)

Can some one create a bunch of settings files for "DB2.45.01_ShflavFixed" version???  so I can deploy this!!!
« Last Edit: March 18, 2012, 11:01:53 AM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #1 on: March 20, 2012, 03:07:21 PM »
Thx for not replying Numsgil. On further thought I think I figured it out.

*** Shasta's installer works correctly but it requires Admin privileges.

*** Drognan was looking for essentially a portable version of Darwin Bots.

Is that even possible?
I have to try it...

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #2 on: March 20, 2012, 10:11:01 PM »
Sorry, I've been really busy the last few weeks.

Does Shasta's installer include settings?  I'm pretty sure it includes bots.  I'd steal whatever defaults that installer includes.

As for a standalone: the only reason we need admin privileges is so that we can add files to system32.  You could try having those ocx's in the local directory instead.  I'm not sure if it's true for ocx files, but windows is supposed to look in the local directory before it goes to look in system folders.  See if you can get a fresh windows install (or a virtual machine) and try having all the ocx files in that local directory.  I'm like 80% sure it will work.  Then you can build a "local" installer that just dumps all the files to a single folder and doesn't need any special permissions.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #3 on: March 21, 2012, 02:57:59 PM »
Quote
Sorry, I've been really busy the last few weeks.

Wow, And I was hoping they give you less load over spring break  :wacko:


Quote
I'd steal whatever defaults that installer includes.

Nope. Have not seen any settings.

As far as standalone, see this picy. It completely did not work :(
Any ideas?
« Last Edit: March 21, 2012, 03:05:28 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #4 on: March 21, 2012, 10:50:32 PM »
Okay, after some googling I think this is possible, but it's a huge hassle.  Though if you figure it out, you're a hero.

Basically it sounds like you need to create a DarwinbotsXXXX.exe.manifest file.  The manifest file means you don't have to register the OCXs and instead it'll just look in the local directory.

This project (clicky) is supposed to scan a VB6 app and make the manifest for it.

This Stack Overflow topic is where I found the link.

I don't know anything about this beyond what I've read from the links above.  I have no idea how hard or easy it is.
« Last Edit: March 22, 2012, 10:43:48 PM by Numsgil »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #5 on: March 22, 2012, 06:14:09 PM »
Your clicky is 404.

Anyway, I have seen manifest files before in sample questions for the MCPD exam.
It is all good until I get to
Quote
<typelib
        tlbid="{00028C01-0000-0000-0000-000000000046}"
        version="1.0"
        helpdir=""/>
    <comClass progid="MSDBGrid.DBGrid"
       clsid="{00028C00-0000-0000-0000-000000000046}"
       description="DBGrid  Control" />

I have no idea what the class ids, version, and descriptions are...

Also, I know for a fact this stuff works on .net , not sure about vb6...



OK, I found a working copy of "MMMM"
Apparently they are putting all the id nonsense all into the programs manifest , there is only one manifest.
I will test it tomorrow and let you know if it worked
« Last Edit: March 23, 2012, 04:42:06 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #6 on: March 22, 2012, 10:44:54 PM »
I fixed my link.

It should work for VB6 apps.  I've never done it, though, so I have no idea how to build one.  Good luck :P

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #7 on: March 23, 2012, 04:48:35 PM »
OK, now I am getting:
Quote
\\atec.net\warehouse\dev\kononovp\Desktop\Darwin Bots Portable\Darwin2.45.01.exe

The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

Also, please note that MMMM itself crashes at
Quote
Err.Raise issNoSection, "IniDOM", "Section not present"

That is line 53, under IniSections

I tried disabling that line. If so, it compiles and I get the "side-by-side" error when I try it.
I am going to try one more thing on Monday though.
« Last Edit: March 28, 2012, 02:39:47 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #8 on: March 26, 2012, 03:38:57 PM »
 :banghead: That did not work either, I am getting the same exact error :help:
« Last Edit: March 26, 2012, 03:40:41 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #9 on: March 27, 2012, 02:04:57 PM »
I dunno man.  Use google; figure it out.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #10 on: March 27, 2012, 04:12:36 PM »
I found an older version of MMMM that seems to work, I'll test it Wednesday.



 8) It worked!

We might want to add robots to that and put this on the ftp server. See zipy.

Oh, I added one small bug fix and two small UI tweaks (not including the about info.)
Can u spot them?  :D
« Last Edit: March 28, 2012, 02:42:59 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #11 on: March 28, 2012, 05:42:56 PM »
Looks sexy.  I'll work with Shasta on getting a new release.  It'll probably wait until the next release cycle (we're still trying to clean up the code in to a releasable state).

If you fixed some bugs, send me the SVN patches and I'll look em over and apply them to the repo.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #12 on: March 28, 2012, 07:01:11 PM »
I was considering starting a new topic because this really has nothing to do with the topic of the post...
Here is my patch. Please note that frmAbout1.frx was unresolved , therefor not included in patch. You have to include it manually into the same folder as the project.

Next I will add new commands and sysvars to the help section of frmAbout1

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #13 on: March 28, 2012, 08:16:57 PM »
Yeah, the *.frx files are unresolvable :/  I found that out the hard way.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: The "New" New Darwinbots Installer
« Reply #14 on: May 07, 2012, 05:13:26 PM »
Is there any way to combine some .frx files later?
[I am adding a new 'debug' icon to the robot console as well as changing some icons on the mdiforms menu strip to make it less confusing and more up to date]