Hello,

          I created silent install for Aspen One Infoplus 21 application by genearating response xml file. xml file having full path of each product to be installed. But as the package will run from different servers, I want to make sure it should install from wherever it runs. so I used '.\' to make it work. but for MSI's its not taking the correct path. 

 

 

<ProductList><PRODUCT1>"\\XXXSERver\ip.21 clients\aspenone7\disk 2\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\vcredist_x86_VS2008SP1\vcredist_x86.exe"</PRODUCT1>

<PARAMETER1>/qb /norestart</PARAMETER1>

<PRODUCT2>\\XXXServer\ip.21 clients\aspenone7\disk 2\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\JDK1.5.0\jre-1_5_0_12-windows-i586-p.exe</PRODUCT2>

<PARAMETER2>/s /v"/q REBOOT=ReallySuppress ADDLOCAL=ALL IEXPLORER=1"</PARAMETER2>

<PRODUCT3>\\XXXServer\ip.21 clients\aspenone7\disk 2\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\JDK1.5.0\jdk-1_5_0_12-windows-i586-p.exe</PRODUCT3>

<PARAMETER3>/v/qn /V"/q REBOOT=ReallySuppress ADDLOCAL=DemosFeature,PublicjreFeature,ToolsFeature"</PARAMETER3>

<PRODUCT4>"C:\Users\bf4808\AppData\Local\Temp\dotnetfx35.exe"</PRODUCT4>

<PARAMETER4>/qb /norestart</PARAMETER4>

<PRODUCT5>\\XXXServer\ip.21 clients\aspenone7\disk 2\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\OPCCore\SETUP.EXE</PRODUCT5>

<PARAMETER5> LIMITUI=1 APPNOMODIFY=1</PARAMETER5>

<PRODUCT6>\\XXXServer\ip.21 clients\aspenone7\disk 2\aspenONEV7.1DVD2\ams\ISScript1150.Msi</PRODUCT6>

<PARAMETER6></PARAMETER6>

<PRODUCT7>\\XXXServer\ip.21 clients\aspenone7\disk 2\aspenONEV7.1DVD2\ams\aspenonev7.1dvd2\Aspen Calc\Aspen Calc.msi</PRODUCT7>

 

 

I copied ATRunUnattended.exe and response.xml file in to Disk2 folder and changed the paths like below in xml. 

 

 

<ProductList><PRODUCT1>".\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\vcredist_x86_VS2008SP1\vcredist_x86.exe"</PRODUCT1>

<PARAMETER1>/qb /norestart</PARAMETER1>

<PRODUCT2>.\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\JDK1.5.0\jre-1_5_0_12-windows-i586-p.exe</PRODUCT2>

<PARAMETER2>/s /v"/q REBOOT=ReallySuppress ADDLOCAL=ALL IEXPLORER=1"</PARAMETER2>

<PRODUCT3>.\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\JDK1.5.0\jdk-1_5_0_12-windows-i586-p.exe</PRODUCT3>

<PARAMETER3>/v/qn /V"/q REBOOT=ReallySuppress ADDLOCAL=DemosFeature,PublicjreFeature,ToolsFeature"</PARAMETER3>

<PRODUCT4>"C:\Users\bf4808\AppData\Local\Temp\dotnetfx35.exe"</PRODUCT4>

<PARAMETER4>/qb /norestart</PARAMETER4>

<PRODUCT5>.\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\OPCCore\SETUP.EXE</PRODUCT5>

<PARAMETER5> LIMITUI=1 APPNOMODIFY=1</PARAMETER5>

<PRODUCT6>.\aspenONEV7.1DVD2\ams\ISScript1150.Msi</PRODUCT6>

<PARAMETER6></PARAMETER6>

<PRODUCT7>.\aspenONEV7.1DVD2\ams\aspenonev7.1dvd2\Aspen Calc\Aspen Calc.msi</PRODUCT7>

 

 

Till Product5 installing fine, but from Product 6 which are msi's failing installation. Here is the log file created

 

 

Response XML file: .\ASPENM~1.XML

Core Directory: .\aspenonev7.1dvd2\ams\aspenonev7.1dvd2\core\

 

04/29/14 18:53:16 PARAMETER1 .\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\vcredist_x86_VS2008SP1\vcredist_x86.exe launched.

Non-Msi process is being launched.

Launch return value is 0

 

04/29/14 18:53:42 PARAMETER2 .\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\JDK1.5.0\jre-1_5_0_12-windows-i586-p.exe launched.

Non-Msi process is being launched.

Launch return value is 0

 

04/29/14 18:54:59 PARAMETER3 .\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\JDK1.5.0\jdk-1_5_0_12-windows-i586-p.exe launched.

Non-Msi process is being launched.

Launch return value is 0

 

Looking for .\aspenonev7.1dvd2\ams\aspenonev7.1dvd2\core\Temp\dotnetfx35.exe.

Looking for .\aspenonev7.1dvd2\ams\aspenonev7.1dvd2\core\Local\Temp\dotnetfx35.exe.

Looking for .\aspenonev7.1dvd2\ams\aspenonev7.1dvd2\core\dotNET35\dotnetfx35.exe.

04/29/14 18:56:35 PARAMETER4 .\aspenonev7.1dvd2\ams\aspenonev7.1dvd2\core\dotNET35\dotnetfx35.exe launched.

Non-Msi process is being launched.

Launch return value is 0

 

04/29/14 18:57:37 PARAMETER5 .\aspenONEV7.1DVD2\ams\aspenONEv7.1dvd2\core\OPCCore\SETUP.EXE launched.

Non-Msi process is being launched.

Launch return value is 0

 

04/29/14 18:58:02 PARAMETER6 .\aspenONEV7.1DVD2\ams\ISScript1150.Msi launched.

Product InstallScriptMSIEngine is being installed/modified/repaired.

There was a problem in launching the install. Return value is 2

 

 

 

Eventviewer showing

Ending a Windows Installer transaction: M:\IP.21 Clients\AspenOne7\Disk 2\.\aspenONEV7.1DVD2\ams\ISScript1150.Msi. Client Process Id: 4668.

Anyone know how can I variablise the path in xml.

 

Thanks

 

1 Comment   [ + ] Show Comment

Comments

  • I'd move the InstallShield script to be the first package, since the other packages probably rely on the engine that it installs.
Please log in to comment

Answers

0

Try moving the MSI inside the Parameter. Same goes with the Aspen Calc msi..

<PRODUCT6>msiexec.exe</PRODUCT6>

<PARAMETER6>.\aspenONEV7.1DVD2\ams\ISScript1150.Msi /qb /blahbla</PARAMETER6>

Answered 04/30/2014 by: dj_xest
Fifth Degree Black Belt

  • I tried moving msi inside parameters which didnt work. I created a vbscript to update the xml with current directory full path before running the installation which resolved the issue

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