PDA

View Full Version : Spoon Installer Command Line Problem



sdotson
12-31-2003, 11:13 AM
I'm trying to register a dll via the command line

In the Pre/Post Actions I select Run and in the command line area I type

regsvr32 /s sDotsoniPropWizard.dll

I leave the To Run section blank as I don't need to run anything.

In the PrePost Actions listbox it lists this as Run "

On install I get a Error on " (I assume the Run " command above)

Any clues?

Also how do you go about unregistering this DLL when uninstalling?

Thanks,
Sean
www.sdotson.com

Spoon
01-02-2004, 06:42 PM
No need, Spoon installer will register and unregister dlls automatically.

sdotson
01-05-2004, 02:25 PM
No need, Spoon installer will register and unregister dlls automatically.

Great, nice feature. Last question in regards to dlls and ocxs.

I need to distribute an OCX into the windows/system32 directory. I do not want to overwrite it if it exists. Furthermore on uninstall I don't want to delete it if it does exist.

It appears that SpoonInstall overwrites the old version and on uninstall delete it.

Spoon
01-05-2004, 06:59 PM
It will do, you would have to download the source code and change it for this one.

Unregistered
01-30-2004, 05:16 AM
Hi. I did the following (since I didn't know that spooninstall would register the file)

To Run: command.com
Command line: /C <System>\regsvr32.exe "<Destination>\midas.dll"

[V] Wait for program to finish
[V] Optional: Register db-file midas.dll


The corresponding Uninstall would be:

To Run: command.com
Command line: /C <System>\regsvr32.exe /u "<Destination>\midas.dll"