Hi Guys,

Ive been asked to create a package in WISE 6.1.0.281 that updates an already installed app.

Now im a newbie when it comes to packaging so if this is a stupid question Great! I hope its answered quickly :D

I have been given a .dll and .exe to package up as a "postfix", however both the .dll and .exe needs to be registered. The .dll is no problem but I do not know how to register a .exe for packaging in wise.

When creating the package itself I copy the .exe file to the correct location and run the following command:
"filename.exe /regserver"
This registers ok.

When it comes time to edit the package in Wise GUI (details of the file) I get the following error:
"This version of wise cannot register .exe files"

After compiling, the MSI package itself fails when I ran it for a test:
"pathname\filename.exe failed to register. HRESULT -2147024769

Am I missing something obvious? Can .exe be registered in wise at all? Do I need to upgrade wise to process this command?

Im not really how to continue from this point an any help would be appreciated.
Thanks,
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Remove the filename.exe from the SelfReg table and author a custom action executing "<path to filename.exe> /regserver" on the condition 'Not Installed'. You will need to unregister the file during uninstall; use the /unregserver switch instead with the condition 'REMOVE=~"ALL"'.
Answered 03/07/2007 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity