when to use WISe to capture setup.exe
HI, I wanted to know when to use Wise to capture a setup.exe or when to run setup.exe /r or when to pass a property to setup.exe. I dont know how to distinguish btwn which way to capture.
Thanks!
Thanks!
0 Comments
[ + ] Show comments
Answers (15)
Please log in to answer
Posted by:
VikingLoki
19 years ago
Wise Setup Capture is for legacy SETUP.EXE installs (or for apps that don't have an install utility) that do not use Windows Installer technology. You do need to be careful that it's not an InstallShield MSI that uses InstallShield Script and a SETUP.EXE bootstrap, it's not always obvious.
Rules of thumb:
If the install is just an MSI file, do not use Setup Capture. Use Wise Install Tailor.
If the setup files contain a SETUP.EXE and MSI file(s), avoid using Setup Capture. First, try to install the app by launching the MSI. If it installs, use Wise Install Tailor. If it generates an error, look for documentation on this site for dealing with SETUP.EXE that calls an MSI file. (these apps can be a PIA)
If it's a single SETUP.EXE (or [Appname].exe) and that's it, look for self extracting files. Open the SETUP.EXE with WinZip and see if it contains compressed files. You can also launch the setup.exe and look for new files/folders in your TEMP directory that contain extracted setup files. From there, look for SETUP.EXE and/or MSI files and follow the rules above.
If it contains only a SETUP.EXE and no MSI files, then use Wise Setup Capture.
If the install doesn't have a SETUP.EXE or MSI, consisting of copying particular files in particular places, etc, then use Wise Setup Capture.
Rules of thumb:
If the install is just an MSI file, do not use Setup Capture. Use Wise Install Tailor.
If the setup files contain a SETUP.EXE and MSI file(s), avoid using Setup Capture. First, try to install the app by launching the MSI. If it installs, use Wise Install Tailor. If it generates an error, look for documentation on this site for dealing with SETUP.EXE that calls an MSI file. (these apps can be a PIA)
If it's a single SETUP.EXE (or [Appname].exe) and that's it, look for self extracting files. Open the SETUP.EXE with WinZip and see if it contains compressed files. You can also launch the setup.exe and look for new files/folders in your TEMP directory that contain extracted setup files. From there, look for SETUP.EXE and/or MSI files and follow the rules above.
If it contains only a SETUP.EXE and no MSI files, then use Wise Setup Capture.
If the install doesn't have a SETUP.EXE or MSI, consisting of copying particular files in particular places, etc, then use Wise Setup Capture.
Posted by:
Bladerun
19 years ago
Posted by:
Thaiboxer
19 years ago
Posted by:
totoymola
19 years ago
Hehehe.. Same here.
Additional tips:
Use a tool called PEiD to detect the software that created the setup.exe. It has a lot of use. If it's an InstallShield exe, try extracting it because it might contain an msi inside. However, some setup.exe's can't be extracted (Im using WinRAR). You can run the setup.exe but don't install it, then go to %temp% folder to get the msi. If it's an Inno Setup package, you can capture the installation, or you can decompile the installer using a tool called InnoUnp (Inno Unpacker). I prefer decompiling Inno Setup installers.
As for the setup.exe /r, do you mean installing in record mode? Only InstallShield InstallScript projects support that.
Additional tips:
Use a tool called PEiD to detect the software that created the setup.exe. It has a lot of use. If it's an InstallShield exe, try extracting it because it might contain an msi inside. However, some setup.exe's can't be extracted (Im using WinRAR). You can run the setup.exe but don't install it, then go to %temp% folder to get the msi. If it's an Inno Setup package, you can capture the installation, or you can decompile the installer using a tool called InnoUnp (Inno Unpacker). I prefer decompiling Inno Setup installers.
As for the setup.exe /r, do you mean installing in record mode? Only InstallShield InstallScript projects support that.
Posted by:
totoymola
19 years ago
Posted by:
sean_c_roberts
14 years ago
With the advent of the Windows Installer Service and Merge Modules, one should in almost NO CIRCUMSTANCES use the Wise SetupCapture method for packaging anything.
In the "good old days" we had no choice, but for almost every major installation setup.exe out there (if it was created with InstallShield, Wise, InnoSetup, etc.) then there is a way to automate the installation.
The thing you want top avoid, and the reality of using SetupCapture is that, whoever packages an app that way has 100% responsibility for the application even post-deployment.
Since you're possibly shortcutting any logic of dynamic decisions made my the setup.exe, including the placement of DLLs, registry keys, etc., if something goes wrong with the app when its running, you cannot be 100% sure that the repakaging of it isn't the problem.
I would even go so far as to say that, for migrations, if your clients have an installation so old that it absolutely cannot be automated, then it should be installed as a legacy app in a Citrix system (so that users can still use it) but so that it does not need to be actually deployed to any machines.
In the "good old days" we had no choice, but for almost every major installation setup.exe out there (if it was created with InstallShield, Wise, InnoSetup, etc.) then there is a way to automate the installation.
The thing you want top avoid, and the reality of using SetupCapture is that, whoever packages an app that way has 100% responsibility for the application even post-deployment.
Since you're possibly shortcutting any logic of dynamic decisions made my the setup.exe, including the placement of DLLs, registry keys, etc., if something goes wrong with the app when its running, you cannot be 100% sure that the repakaging of it isn't the problem.
I would even go so far as to say that, for migrations, if your clients have an installation so old that it absolutely cannot be automated, then it should be installed as a legacy app in a Citrix system (so that users can still use it) but so that it does not need to be actually deployed to any machines.
Posted by:
anonymous_9363
14 years ago
Utter nonsense. If you're happy to let a vendor install walk all over your builds without knowing what it is doing, you deserve everything you get. And what piffle about placing of registry keys and so on. Do you think SUC decides on a whim where to put stuff? Or does it, do you think, CAPTURE what the EXE does? Hmmm...tricky one...
In any event, one would have to question the quality of advice from someone who replies to 5-year old posts.
In any event, one would have to question the quality of advice from someone who replies to 5-year old posts.
Posted by:
Rheuvel
14 years ago
Posted by:
timmsie
14 years ago
Posted by:
aogilmor
14 years ago
Wow, thread revival! Preach it brothas! LOL...
I agree it's wrong to say NEVER setup capture. But if you can (I've done this) it's much more effective and less chance of "cruft" if you just get the raw files and add them to a wsi, then compile. Wise picks up the advertising and com info automagically, and prompts for merge modules if needed.
I agree it's wrong to say NEVER setup capture. But if you can (I've done this) it's much more effective and less chance of "cruft" if you just get the raw files and add them to a wsi, then compile. Wise picks up the advertising and com info automagically, and prompts for merge modules if needed.
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.