/build/static/layout/Breadcrumb_cap_w.png

How to un-packge an .EXE to create a transform

Having issues deploying some software using GPO. The package in question uses 'Setup.exe' which appears to have an embedded .msi file. Any ideas how to un-wrap this file, so I can get the .msi? I want to see if I can create a transform to help with the deployment. It was created using InstallShield.

I have tried going to a command prompt and running "setup.exe /a". Nothing really happens. I tried used the Appdeploy repacking tool, but half way through prompted me that this is a Windows Installer setup and it should not be repackaged.

I am pulling my hair out with this one.

ZT


0 Comments   [ + ] Show comments

Answers (7)

Posted by: samzeeco 12 years ago
10th Degree Black Belt
1

You can sometimes pull an MSI and the accompaning files out of a temp folder that is created when starting an install.

First you need to start the executable, and when it gets to the splash page (where you click Next for the first time) don't click anything and go to the %temp% folder. There'll be a new folder sometimes with a ~setup at the end of it. Inside there could be the MSI and other files it needs to run.

Some executables can be extracted with an archival software (7zip, WinRAR, Alzip, etc.) You can also try to open it with one of those and extract the files inside.

Posted by: db93oh 12 years ago
Senior Yellow Belt
1

Have you tried "setup /?" to see what switches are available? Sometimes you can get the MSI that way with an /extract or /admin.

Even if not, it should still create its own folder in %TEMP%.. just start the install and while it's running but before you click anything in it, sort %TEMP% by date and see if any folders (or logfiles) were just dumped there with a current timestamp.

As for the setup.iss - that should only be used if you install silently, so try adding a -s ... and if setup.iss is in the same folder, you don't even need the /f1"path" part when using -s.

hth

Posted by: zoetaite 12 years ago
Senior Purple Belt
0

I was able to extract the contents, but nothing was really readable. I did some reading and was able to create a response file using the following syntx:

setup.exe /R /F1"C:\Temp\Setup.iss"

Trying to run a small batch that references this response file, but it doesn't seem to be working for some reason. If I look in the event logs it is saying the package installed correctly, but nothing has been installed.

ZT

Posted by: zoetaite 12 years ago
Senior Purple Belt
0

If the 'Setup.iss' file is in the same folder as the 'Setup.exe' should the syntax be the following:

Setup.exe /s /sms /f1"setup.iss"

ZT

Posted by: anshul 12 years ago
Orange Belt
0

its a simple task.

First empty %temp% folder. than try to install the exe keep           %temp% folder open because most of the exe dumps msi in this folder. Just copy paste that folder on some other location as that msi or msi folder will delete itself after installation. One more thing make a log of your installation by

msiexec /i "C:\MyPackage\Example.msi" /L*V "C:\log\example.log"

as you get the location of msi if exe dumpls in some other location.

Posted by: phanigudivada 12 years ago
Purple Belt
0

Use installrite or picturetaker to scan the installation and then you can find the actual source whether it is msi or an install shield exe

Posted by: anonymous_9363 12 years ago
Red Belt
0

>nothing was really readable
Does that matter? If you're using a package authoring tool, you can use its transform generation utility (e.g. InstallShield's InstallTailor) to create the transform. All you need to do is click 'Next', 'Next', 'Next'! :-)

 
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