cydude
Posts: 16
Joined: Wed Mar 05, 2008 3:51 am

is there a silent install property?

Is there a way to know if a silent install is running by inspecting a property?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that this is not supported by Windows Installer. Also, if another MSI-based installation is running when you run your installation package, Windows Installer will not allow your installation to start.

Can you please give me more details about why you need this? (perhaps there is a workaround)

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cydude
Posts: 16
Joined: Wed Mar 05, 2008 3:51 am

is there a silent install property?

I want to prevent the silent install from running after a certain date, but still allow the interactive installer to run. I would process this silent flag in a vbscript.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that this is not supported by Windows Installer.

However, this could be done by creating a custom EXE which launches the package. This EXE can check if a silent install can be launched.

If the package can be launched in silent mode, then the EXE will launch the MSI file with this command:

Code: Select all

msiexec /i package.msi LIMITUI="1"
If the package cannot be launched in silent mode, then the EXE will launch the MSI file with this command:

Code: Select all

msiexec /i package.msi
where "package.msi" is the installation package.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”