I'm sure this is a FAQ but since I didn't see a reference to the FAQ
in the forum I'll ask again <g>
I'm using the Wise Installer to create an msi for intalling a server
app which has two services and three dll's.
The app installs just fine. When I try to uninstall the app the
regsvr32 /u gets called and then later in the code the regsvr32 gets
called again to reregister the dll's.
I've embedded some conditionals in the code and that doesn't appear to
be stopping things:
Under 'Execute Deffered' below the" 'REM Unregister all modules that
are due to be uninstalled" I have this:
If REMOVE="ALL" then
Execute Program From Destination regsvr32.exe /u ...
Execute Program From Destination regsvr32.exe /u ...
Execute Program From Destination regsvr32.exe /u...
End
Further down Under 'Execute Deffered' below the" 'REM Register all
installed modules with the system" I have this:
If NOT REMOVE~="ALL" then
Execute Program From Destination regsvr32.exe ...
Execute Program From Destination regsvr32.exe ...
Execute Program From Destination regsvr32.exe ...
End
Everytime the unistall gets executed the task bar is updated with the
text from the first regsvr32 in the install/register block and at this
point uninstall has already removed the files so things fail.
Again, on a clean install it installs fine but will not uninstall.
I'd appreciate any help!
Phil
>Sounds like this should be asked in a wise group...
That's what I would do/would have done if I could find a wise group...
but in the absence of one of those I think this is the appropriaet
place. Eh?
The recommended way to register/unregister is to use the MSI tables, not run
regsvr32 at install/uninstall time. Tools usually have wizards that extract
those entries into the MSI file.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
"Howdy" <wbo...@lbellsouth.net> wrote in message
news:3bbos0509edv922ep...@4ax.com...
Wise have a support forum on the web at
http://www.altiris.com/support/forum/default.asp
"Wise for Windows Installer" is the one you want