Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

Run setup.exe

Created: 08 Aug 2010 • Updated: 10 Sep 2010 | 5 comments
This issue has been solved. See solution.

Hi
I am doing a project in that i have to run setup.exe. I dont want to display any dialogs like welcome or License agreement.  I have added all dependent files of setup.exe  from source to destination computer. The setup.exe file contains j2sdk, apache tomcat 4.1 & BDE
The MSI script is :
Disply Dialog Progress_Dialog
Display message Installation starts
Execute Program From Destination D:\Umesh\CCAP2p0_Installable\setup.exe Default Directory Umesh (InstallCCAP)
In custom action table InstallCCAP type it was 34 i have edited to 98.

If i run the script it will run without any error but it will not run the setup.exe file.  But it will dispaly the message "Installation Starts".
after that it will not execute the setup.exe.
The log file is attached any solutions?

Thanks

Discussion Filed Under:

Comments 5 CommentsJump to latest comment

EdT's picture

Can you run setup.exe manually and have it install silently without requiring any dialog input?
If you cannot do this, then you have no chance of achieving this from an MSI.
Have you also checked whether there are any MSI installs embedded in the EXE?

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

umeshbg's picture

Hi EdT

I can run manually setup.exe with out any error. Earlier also i tried with wise script as you were suggested to edit the type (34+64=98) with that i was able to run setup.exe with wise script, but now can't able to execute the setup.exe with wise script.  The attached install.doc file shows that error 1721 the same one i marked with yellow color. Is it related to custom action?

Thanks

AttachmentSize
Install_4.doc 1.45 MB
EdT's picture

Does the setup.exe require any command line arguments or does it run silently just by running setup.exe?
Are there any other files used by setup.exe?  You are specifying the working directory to a different drive and folder to the location of setup.exe, so if there are any other files required by setup.exe, it will not find these files.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

SOLUTION
umeshbg's picture

Thanks EdT
As you told

"You are specifying the working directory to a different drive and folder to the location of setup.exe, so if there are any other files required by setup.exe, it will not find these files."

So in dialogs page i used single feature destination dialog there i specified folder path to a working directory now i can run the setup.exe file with wise script.
Thnaks for your suggesations.

EdT's picture

The information was in the log file at the point you highlighted. I have reproduced the section below and used bold text for the information that indicated the possible cause of the problem.

4: D:\Umesh\CCAP2p0_Installable\setup.exe
Info 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: InstallCCAP, location: C:\Umesh\, command: D:\Umesh\CCAP2p0_Installable\setup.exe
Action ended 15:52:20: InstallCCAP. Return value 1.

Using the help file MSI.CHM you can look up specific error codes such as 1721 and also investigate the parameters required by a Type 34 custom action (eg source field holds working directory)

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.