MSI Cammandline

Got a problem you cannot solve? Try here.
lemke
Posts: 4
Joined: Tue Dec 14, 2004 11:05 am

MSI Cammandline

Postby lemke » Tue Dec 14, 2004 11:23 am

I have downloaded the Trial Version of InstallAware for evaluation.
Now I finished my first setup with a featue "BUDS SERVER". When tried to launch the installation from commandline with (quite mode)

msiexec /i "buds cs.msi" /qn INSTALLDIR=C:\\Programme\\BUDSSERVER ADDSOURCE=BUDS SERVER /L* "logfile.txt"

I get the MSI Error "2711". Feature name (BUDS SERVER) was not found.

Next I changed the feature name to BUDS_SERVER. When I renamed the feature name within the visual -> feature, I got 2 features, the old one and the new one. Somehow strange but never the less I changed alle existing variables within the script too and then I had the correct changed feature.

I was in hope that the Blank in my first featue name (BUDS SERVER) was not alowed in MSI. I still get the same error.
If I chose not the quite mode means

msiexec /i "buds cs.msi" INSTALLDIR=C:\\Programme\\BUDSSERVER ADDSOURCE=BUDS SERVER /L* "logfile.txt"

I get at first a Message with the same MSI error but I can process the installation.


What do I wrong?

Thank for answering my question.
Stefan

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Tue Dec 14, 2004 3:07 pm

You cannot use msiexec to launch InstallAWARE installations. You need to launch InstallAWARE installations using the EXE driver that is created as part of the build process. The EXE driver will internally launch the MSI file.

lemke
Posts: 4
Joined: Tue Dec 14, 2004 11:05 am

Postby lemke » Wed Dec 15, 2004 8:19 am

I got an answer by email but want post it to the forum as well.

>Certainly.
>You can run setups in silent mode with InstallAWARE using the /s >command
>line parameter.
>You can specify logfiles using the /l=<path to log> command line >parameter.
>You can designate the values of pre-defined script variables using the >form
>VARIABLE=VALUE, such as TARGETDIR=C:\\Program.
>All these are parameters to the setup executable (and not the MSI file >using msiexec).
>
>Examples:
>
>1) To install the product with logging into c:\\data,
>
>setup.exe /s /l=c:\\data\\log.txt TARGETDIR=c:\\data
>
>2) To uninstall the product
>
>setup.exe /s MODIFY=FALSE REMOVE=TRUE
>
>You can of course read command line parameters from your installation >script and also drive your setup logic accordingly.
Stefan

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Wed Dec 15, 2004 10:53 am

Thanks :D


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 75 guests