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
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)
Please log in to answer
Posted by:
gizmo
19 years ago
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 :)
... 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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.