This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Expanding and repacking setup.exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 21, 2010
11:46 AM
Expanding and repacking setup.exe
Hi,
Is there any way to extract the MSI embedded within a setup.exe, modify it and put it back into the setup.exe?
I am using Basic MSI project.
Thanks.
~Tom
Is there any way to extract the MSI embedded within a setup.exe, modify it and put it back into the setup.exe?
I am using Basic MSI project.
Thanks.
~Tom
(3) Replies
‎Dec 21, 2010
05:55 PM
You (anyone) can expand setup.exe with the /a switch, but there's no built-in tool for recompressing it. If it's just a matter of passing along modifications to the MSI database, a transform (.mst file) will do the trick.
‎Feb 16, 2011
01:49 PM
With the /a switch, is there a way to specific the directory to extract to?
I'm working on a script that will take a setup.exe as input, extract the msi, and read some information from the msi file.
Thanks.
I'm working on a script that will take a setup.exe as input, extract the msi, and read some information from the msi file.
Thanks.
‎Feb 16, 2011
01:59 PM
I think passing a value for TARGETDIR will do it, as in:
setup.exe /a /V"TARGETDIR=C:\RightHere"