/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi,

I am trying to create a wrapper MSI to run several setup.exe files. I am using Wise Package Studio 5.51. I have the setup.exe files being installed to C:\Temp. The custom actions are all placed in the Execute Immediate tab after InstallFinalize...

IF Not Installed
Execute Program from Destination cmd.exe /a /c C:\Temp\Setup1.exe Default Directory Windows\System32 (Setup1)
Execute Program from Destination cmd.exe /a /c C:\Temp\Setup2.exe Default Directory Windows\System32 (Setup2)
Execute Program from Destination cmd.exe /a /c C:\Temp\Setup3.exe Default Directory Windows\System32 (Setup3)
End

The custom actions do not even run because I have been told you cannot have two instances of the Windows Installer service running at one time. I have successfully installed MSI's from within an MSI before, but I have never been able to install an EXE from within an MSI. Does anyone know if this is possible, and how to do it?

Thanks,
Kevin
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

Answers

0
Hi Kevin :)

... this is from another posting i have made :) - i hope you can use it :)

[hr]

hi ....

.... i used "Execute Program From Destination" to run Xcacls ... and it works fine :) .... no need to make a "script" :)



Tab "Execute Immediate" -> "Execute Program From Destination"

.... commandline : cmd /c xcacls ....................
(i included xcacls in the package - so i knew the location, and that the file would be there)


... it took me a while to find out how the commnadline should be .... :)

Gizmo - Denmark :)

[hr]

Thomas (Gizmo) - Denmark :)
Answered 03/09/2005 by: gizmo
Senior Yellow Belt

Please log in to comment
0
You could also create a wisescript to call those executables, then call the wisescript from your MSI. WPS makes this easy to do.
Answered 03/09/2005 by: Bladerun
Green Belt

Please log in to comment