How can I wrap a legacy setup in an MSI using installshield, Is there any custom actions I need to do
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

6
You can use the AppDeploy repackager (http://www.kace.com/products/freetools/appdeploy-repackager/) to create a MSI from a legacy setup program. Basically, the application takes a snapshot of the test system before you install the legacy application, then takes another snapshot after the install is completed, and from the difference between the two shapshots, it derives a set of system changes that it wraps up in a custom MSI file. You can read about Appdeploy Repackager's operation in much more detail at http://www.itninja.com/blog/view/how-to-use-the-appdeploy-repackager.

One thing to remember when doing this: youor test system should ideally be a completely virgin system, with a completely fresh install of the OS and nothing else. Virtual systems work well for this, as you can reset them to their 'virgin' state much more easily than you can a non-virtual system.
Answered 03/22/2012 by: ewagner
Orange Belt

Please log in to comment

Answers

0
What do you mean by "wrap"? Launch it before the MSI installation, during or after? Silent installation (for example for Active Directory) or full UI?
Answered 03/22/2012 by: Cosmin Pirvu
Senior Yellow Belt

Please log in to comment
0
It depends on what you need to do, check out these custom action types.
You can run the custom action in several ways. Either run the exe directly or through some script for your needs.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372048(v=vs.85).aspx
Answered 03/23/2012 by: henrik80
Second Degree Blue Belt

Please log in to comment
0
Go to Files in Installshield and add the source to temp folder.
Then you need to write a custom action to execute exe from installed files. you can select the folder as temp folder, where you have placed your package, and then in parameters, write the exe name and any parameters you like to add like /q.
Run this Custom action just before InstallFinalize action in Deferred execution System Context. You also need to add condition as NOT REMOVE
Answered 03/23/2012 by: piyushnasa
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity