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


5 replies to this topic

ksarrafi

ksarrafi
  • Members
  • 6 posts

Posted 09 January 2002 - 20:41

Is there a way to do silent install without doing the ISS file?

Kurt Schneider

Kurt Schneider
  • Members
  • 98 posts

Posted 09 January 2002 - 21:25

Greetings,

From the command line try:

MsiExec /i <package path | product code> /qn

This will run the .msi with no UI

Good Luck

Kurt Schneider


ksarrafi

ksarrafi
  • Members
  • 6 posts

Posted 09 January 2002 - 22:06

Thanks for the reply.  
I have created my setup.exe in IS7.x.  
When you say package what exactly do you mean.  

I have one exe that I like to distribute and run, in a silent mode.


Kurt Schneider

Kurt Schneider
  • Members
  • 98 posts

Posted 09 January 2002 - 22:20

Khash,

If you just have a setup.exe that you want to run silently, try this from the command line:

setup.exe /q

Here is an explanation of my first reply

MsiExec /i <package path | product code> /qn

package path refers to the path of the .MSI file:

MsiExec /i "C:\MySetup.msi" /qn

product code refers to the product code property:

MsiExec /i {E53919DB-7B5C-417A-B003-5D3293C8B6C7} /qn

Both of these will give the same silent instalation.

Hope this helps

Kurt Schneider


ksarrafi

ksarrafi
  • Members
  • 6 posts

Posted 09 January 2002 - 22:54

/q is not a valid key.  

May have been in the old versions of IS but not in IS7.x

I will try the MSI method.


Kurt Schneider

Kurt Schneider
  • Members
  • 98 posts

Posted 09 January 2002 - 23:29

In the IS7.x msi help library, I did a search on bootstrapping.  It brings up a document that lists command line options for setup.exe.  It shows /q as a valid option.

Anyways  Good Luck

Kurt