PDA

Click to See Complete Forum and Search --> : Need Install Package suggestions


e34m5
Nov 26th, 2007, 08:21 AM
I need to create an install that will do the following:

- Create application folder and copy files into it.
- Register DLL's
- Add an assembly to the GAC
- Create a Start|Programs item and associate with the .exe in above folder

What can anyone suggest to do this? So far I've been able to do most of this with a Batch file. The last item I have not figured out how to do with a BAT file.

Hack
Nov 26th, 2007, 08:51 AM
My two suggestions would be VB's Package and Deployment Wizard or Inno Setup.

e34m5
Nov 26th, 2007, 10:06 AM
Ok I am trying INNO setup. However, I can't figure out how to make it register a dll and how to make it run the gacutil to load an assembly.

[Run]
Filename: "{app}\vcredist_x86.exe";
Filename: "{app}\gacutil.exe {app}\adodb.dll"; Parameters: "/i";
Filename: "regsvr32 {sys}\dwgminer.dll"; Parameters: "/s";
Filename: "regsvr32 {sys}\DToolsXDWG2007.dll"; Parameters: "/s";

It puts up a message that it cannot find the files even though I have them copied into the {app} directory.

randem
Nov 26th, 2007, 05:53 PM
Please read Installer Problems (http://www.***********/installerproblems.html) for more helpful information for installation