call setup.exe

I want to call setup.exe through blank msi. That setup.exe resides in my sourcefolder. I am using Wise Package Studio, i am new to packaging.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: cygan 13 years ago
Fifth Degree Brown Belt

is your setup microsoft or instsallshield
what command line switches are you using
Posted by: taniya 13 years ago
Senior Yellow Belt
it is very confusing. [:o]

I do not know these many concepts. Please tell me which option will i have to select? and i want to run it from sourcedit, not from installed files
Posted by: darkfang 13 years ago
Blue Belt
open your .wsi project, Go to MSI Script
Installation Mode : All Custom Action

In the action list, select one of the following :
Execute Program From Destination (Select this if you want to execute the setup.exe from a folder locally)
Execute Program From Installation (browse for your setup.exe, it will in the .msi temp folder during installation)
Execute Program From Installed File (setup.exe must be in your project)
I think "Execute Program From Installation" is the best case.

Detail Panel
Custom Action Name: Specify the custom action name
Exe file : Browse for your setup.exe
CmdLine : insert any command line if neccessary

Location :
Uncheck No Sequence
Sequence : Normal Execute Immediate/Deffered
Put your custom action anywhere you like in the sequence. If your want to execute the action at the end, put it right before InstallFinalize and click Add
Condition : If you want this custom action to be executed during installation only, type : NOT Installed

Properties Panel
Processing : Synchronous, Ignore Exit Code
Schduling : Always Execute

Another thing, check this link : http://itninja.com/blog/view/appdeploy.com->-training-videos->-custom-actions-with-wise-package-studio
Posted by: elgwhoppo 13 years ago
Senior Purple Belt
If you are new to packaging and have Wise Package studio available to you, perhaps you should be asking a different question.

My first question to you is why do you want to install a setup.exe from an MSI? There are valid reasons, but using an MSI as a wrapper is not one of them. If the setup.exe is the installation file, you have plenty of options other than the one you suggested.You could repackage the installation into an MSI (preferred), or you could automate the installation with a respose file if the setup.exe supports it.
Posted by: anonymous_9363 13 years ago
Red Belt
No disagreement here. Also, 'taniya', are you sure that the set-up stub doesn't contain an MSI already? To find out, clear out your %TEMP% folder (note: not %SystemRoot%\TEMP). Then run the stub but stop at the first screen, normally 'Welcome to [whatever lame product it is]". Check your %TEMP% folder for an MSI. If there's one there, copy it somewhere, rename it to something sensible (it will have been created with a randomly-created name in %TEMP%) and use that. To make changes to its actions, use a transform: you should never edit vendor-supplied MSIs.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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