Start installation from networklocation
Hello,
I've created an automated MATLAB installation. To install silently I used the setup.exe -if installer.ini option.
I added this line to a batch file with some extra actions.
But now I want to create an empty MSI with only a costum action witch starts the batch file from a network location. How can I do this in WPS?
I tried to add a "Execute Program From Path" custom action, but it returns a 1721 error. I know for sure the path is correct, cause when I enter it in my explorer it will run. I also added "" for the test. But no luck.
Anyone got an idea?
I've created an automated MATLAB installation. To install silently I used the setup.exe -if installer.ini option.
I added this line to a batch file with some extra actions.
But now I want to create an empty MSI with only a costum action witch starts the batch file from a network location. How can I do this in WPS?
I tried to add a "Execute Program From Path" custom action, but it returns a 1721 error. I know for sure the path is correct, cause when I enter it in my explorer it will run. I also added "" for the test. But no luck.
Anyone got an idea?
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
michaelnowell
17 years ago
Posted by:
MARIN
17 years ago
This it what the verbose log says:
Error 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: Action1, location: C:\WINDOWS\Installer\MSI167B.tmp, command:
MSI (s) (84:1C) [09:24:31:900]: Product: MATLAB R2007b -- Error 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: Action1, location: C:\WINDOWS\Installer\MSI167B.tmp, command:
The custom action I used:
Execute Program From Path \\DATA\software$\MSI\MATLAB\ Command line matlab_full.bat (Action)
Error 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: Action1, location: C:\WINDOWS\Installer\MSI167B.tmp, command:
MSI (s) (84:1C) [09:24:31:900]: Product: MATLAB R2007b -- Error 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: Action1, location: C:\WINDOWS\Installer\MSI167B.tmp, command:
The custom action I used:
Execute Program From Path \\DATA\software$\MSI\MATLAB\ Command line matlab_full.bat (Action)
Posted by:
nheim
17 years ago
Hi Dennis,
why not use WIWW? See:
http://www.vinsvision.com/Articles/tabid/66/EntryID/15/Default.aspx
They have done it for you already.
Regards, Nick
why not use WIWW? See:
http://www.vinsvision.com/Articles/tabid/66/EntryID/15/Default.aspx
They have done it for you already.
Regards, Nick
Posted by:
MARIN
17 years ago
Posted by:
nheim
17 years ago
Posted by:
vvanegmond
16 years ago
ORIGINAL: MARIN
Nick,
I tried that application, but for some reason it is not working.
The setup finishes, but the matlab_full.bat is not running.
Hi MARIN,
Please note that if you don't use the Use [SourceDir] checkbox in WIWW, the ResolveSource action isn't added in the InstallExecuteSequence. So try this:
- When you create a new Windows Installer file using WIWW, create the msi file in the same folder on the network where your batch file is located:
\\DATA\software$\MSI\MATLAB
- Add the install command using the Use [SourceDir] checkbox. Then, use the Browse button to select your matlab_full.bat.
The install command should show up as Folder [SourceDir] and Program matlab_full.bat.
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.