/build/static/layout/Breadcrumb_cap_w.png

Application Launch Issue

Hello All,

I am installing this app using Install Script Wrapper. Everytime I click on the resulted setup.exe (the wrapper), it kicks in, starts the installation, shows a window that says:

Installing
C:\....\...\....\APP.msi

then it breaks and shows the "Windows Installer" window with all the available switches that can be used.

I have tried different switches but nothing works with this wrapper. But the same switches work just fine manually.

Any thoughts? Anybody?

Greatly appreciated.

Best Regards,

AK

0 Comments   [ + ] Show comments

Answers (5)

Posted by: jmaclaurin 12 years ago
Third Degree Blue Belt
1
Windows Installer (MSIEXEC.exe) command lines are explicit and case sensitive. You can use system and defined variables instead of hard coded paths.

%SYSTEMROOT%\System32\msiexec.exe /i "%SOURCE%\%SOURCESUBDIR2%\%MSINAME2%" TRANSFORMS="%SOURCE%\%SOURCESUBDIR2%\%MSTNAME2%" /liwear "%LOGFILEDIR%\%PACKAGELOG2%.LOG" REBOOT="ReallySuppress" /qn

Translates to:

c:\windows\System32\msiexec.exe /i "\\servername\folder\msiname.msi" TRANSFORMS="\\servername\folder\mstname.mst /liwear "c:\folder\packagename.LOG" REBOOT="ReallySuppress" /qn

Watch for extra spaces between the commands.

As always, perform your testing without /qn so that you can see the visable errors.
Posted by: 786_ak 12 years ago
Third Degree Green Belt
1
Jmaclaurin, thanks for a quick response. Here's what my command line looks like, just so you have a better idea.

szProgram = WINSYSDIR ^ "\\msiexec.exe";
szCmdLine = TARGETDIR ^ "\\"+ MSINAME;
szCmdLine1 = TARGETDIR ^ "\\" + MSTNAME;
//nOptions = LAAW_OPTION_WAIT;
//MessageBox("szCmdLine = " + szCmdLine,INFORMATION);
if (LaunchAppAndWait (szProgram, "/i "+szCmdLine + " TRANSFORMS=" + szCmdLine1 + " /qb!", WAIT) < 0) then
MessageBox ("Unable to launch "+ szProgram +".",SEVERE);


What could be causing it to break. In addition to that I am still seeing the option of "Cancel" button for user to be able to cancel this installation. How can I possibly remove that, if "/QB!" is not doing it. Once again same command line works fine manually.

Thanks,

AK
Posted by: jmaclaurin 12 years ago
Third Degree Blue Belt
1
Try trimming out the variables in your commands and use explicit instead. Once that is working, then set/add each variable one at a time.
Posted by: Dodgyguy 12 years ago
Senior Yellow Belt
1
Also, /qb is for a basic interface. Try using /qn for a silent install.

NB its a good idea to use /qb while testing/troubleshooting so you can see any error dialogues... [:)]
Posted by: lokeshmajji 12 years ago
Yellow Belt
1
/qb-! can be used for disabling the cancel button
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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