/build/static/layout/Breadcrumb_cap_w.png

Execute Program From Destination

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   [ + ] Show comments

Answers (2)

Posted by: gizmo 19 years ago
Senior Yellow Belt
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 :)
Posted by: Bladerun 19 years ago
Green Belt
0
You could also create a wisescript to call those executables, then call the wisescript from your MSI. WPS makes this easy to do.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ