Problem installing msi from within IA
Posted: Tue Mar 11, 2014 7:15 am
I'm on IA version 18, build 1.29.14
I am writing a IA "wrapper installer" for some prereq:s and a program which is distributed in the form of a msi. I get kind of a weird result when the msi is installed from within IA which I don't get when I install via a command prompt. All installations are done under the same admin account.
If I run msiexec from the command line *everything works fine* for all users of the computer:
msiexec.exe /i data.msi ADDLOCAL=ALL ALLUSERS=1 /Qb
The above command will work fine and the application start without errors after installation.
When I use Install MSI command the application seem to install correctly. But as soon as a user try to launch the application the following is displayed:
"The feature you are trying to use is on a network resource that is unavailable."
Here's the command I am using:
~InstallAware Clipboard Data~
~(Un)Install MSI Setup~
~{A7C0F117-76DE-4CA6-8D1B-81E89BBD8FB8}~
~"ADDLOCAL=ALL ALLUSERS=1",FALSE,,TRUE,$SUPPORTDIR$\data.msi,,,,FALSE~
~mMSI.dll\mMSIExec.dll~
I have tried "Run Program" as well as "Run Program As" (with and without working directory set), I have tried having the msi located in Support Files as well as in a File Bag. Same result, the application need the no longer existent msi to "configure" when user tries to start it.
~InstallAware Clipboard Data~
~Run Program As~
~{6BD0EE18-E3E9-4AC8-AAEE-08A7E36F4439}~
~msiexec.exe~
~$SUPPORTDIR$~
~/i $SUPPORTDIR$\data.msi ADDLOCAL=ALL ALLUSERS=1 /Qb~
~0~
~~
~~
~~
~~
~TRUE~
~~
Anyone have a clue to why the application fails when installed from within IA no matter what? The same command line options works fine in a prompt using msiexec..
I am writing a IA "wrapper installer" for some prereq:s and a program which is distributed in the form of a msi. I get kind of a weird result when the msi is installed from within IA which I don't get when I install via a command prompt. All installations are done under the same admin account.
If I run msiexec from the command line *everything works fine* for all users of the computer:
msiexec.exe /i data.msi ADDLOCAL=ALL ALLUSERS=1 /Qb
The above command will work fine and the application start without errors after installation.
When I use Install MSI command the application seem to install correctly. But as soon as a user try to launch the application the following is displayed:
"The feature you are trying to use is on a network resource that is unavailable."
Here's the command I am using:
~InstallAware Clipboard Data~
~(Un)Install MSI Setup~
~{A7C0F117-76DE-4CA6-8D1B-81E89BBD8FB8}~
~"ADDLOCAL=ALL ALLUSERS=1",FALSE,,TRUE,$SUPPORTDIR$\data.msi,,,,FALSE~
~mMSI.dll\mMSIExec.dll~
I have tried "Run Program" as well as "Run Program As" (with and without working directory set), I have tried having the msi located in Support Files as well as in a File Bag. Same result, the application need the no longer existent msi to "configure" when user tries to start it.
~InstallAware Clipboard Data~
~Run Program As~
~{6BD0EE18-E3E9-4AC8-AAEE-08A7E36F4439}~
~msiexec.exe~
~$SUPPORTDIR$~
~/i $SUPPORTDIR$\data.msi ADDLOCAL=ALL ALLUSERS=1 /Qb~
~0~
~~
~~
~~
~~
~TRUE~
~~
Anyone have a clue to why the application fails when installed from within IA no matter what? The same command line options works fine in a prompt using msiexec..