MSI inside Exe?
I have an exe and I tried to find whether there is an msi inside exe or not and I disabled windows installer and installed but it shows an error abt windows installer. I enabled in tried to install, it's installing perfectly. I searched for msi in %temp% and %appdata% and c:\\winows\installer. But there is no msi? so what I have to do with that shall i directly repackage that exe?
Answers (4)
Can you extract the .exe with your favourite archive software (Winzip, 7Zip)?
Take a look in %appdata% folder and folders underneath, some applications (Adobe Reader and Java) extract there.
If you're still struggling to find the MSI, then use your favourite lightweight snapshot tool (InstallRite, InControl, PictureTaker et al) to snapshot launching the setup executable to the first installation screen.
This will show you where any files have been placed, so you can identify where the MSI has been dropped.
Hope that helps,
Dunnpy
When you checked %temp% folder did you check it during the install or after it?
Remember when checking the %temp% folder 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.
And like Dunnpy said, sometimes you can extract it with an archive software, I've had WinRAR work for me a few times. Though it's really dependent on the particular software you're trying to extract from.
>first make a log msiexec /i "C:\MyPackage\Example.msi" /L*V "C:\log\example.log"
Ummm...the OP doesn't yet have an MSI so how will he be able to log its activity?
@OP: Process Monitor will show you MSIExec.EXE being started. Its sister app, Process Explorer can optionally display the command line used, too.