Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

silent install/uninstall with .exe


4 replies to this topic

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 05 March 2008 - 11:31

Hi,

I would like to know why silent install / uninstall works only with .msi

Works fine:
msiexec.exe /qn /i MyApp.msi

Fail: (nothing happen)
msiexec.exe /qn /i MyApp.exe

Thanks,

Edited by aldebarande, 05 March 2008 - 12:12.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 March 2008 - 12:33

msiexec.exe executes only .msi files, not other executables. To run a setup that is packages as exe use that exe's command line parameters:

MyApp.exe /s

(assuming that MyApp.exe is a Basic MSI installation that was created with InstallShield)

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 05 March 2008 - 13:16

QUOTE (Stefan Krueger @ 2008-03-05 12:33)
msiexec.exe executes only .msi files, not other executables. To run a setup that is packages as exe use that exe's command line parameters:

MyApp.exe /s

(assuming that MyApp.exe is a Basic MSI installation that was created with InstallShield)

Hi,

Thanks for your answer.

But in that case (MyApp.exe /s) the install is not silent. I just tried and user Interface comes up.

The doc if you type MyApp.exe /? says that for silent mode you have to type:
MyApp.exe /S/v/qn

But this last command still make the interface to come up and wait for user interaction.

I'm looking for the same behavior that msiexec.exe /qn /i where there're not a single interaction while installing.

It's a basic msi. This is appearing in the blue bar of InstallShield 12 premier edition.
This project do have an install script

Thanks,

Edited by aldebarande, 05 March 2008 - 13:27.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 March 2008 - 13:20

I think there needs to be a blank between /s and /v:
CODE
MyApp.exe /s /v/qn

And, some option might be case sensitive, so use /s instead of /S.

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 05 March 2008 - 13:28

QUOTE (Stefan Krueger @ 2008-03-05 13:20)
I think there needs to be a blank between /s and /v:
CODE
MyApp.exe /s /v/qn

And, some option might be case sensitive, so use /s instead of /S.


Ooops, I didn't noticed the first sentence about the s/ and v/qn

Yes, you're right it works with:

MyApp.exe /s /v/qn

Thanks Stefan :-)

It was not obvious in the doc /? because there's a break line just after /s

Edited by aldebarande, 05 March 2008 - 13:35.