Silent Installation

Started by Devon Austen, July 17, 2018, 11:33:00 AM

Previous topic - Next topic

Devon Austen

It is possible to run the Windows installers for some of our products in silent mode so no user interaction is needed.

PxPlus WindX Plug-in: From the command line run pxp1500-0001-WPI.exe /s /v"/qn"

PxPlus SQL ODBC Driver: From the command line run sql_odbc_driver_6.10.0000_windows_32-bit_x86.exe /VERYSILENT

PxPlus SQL Server: From the command line run sql_server_6.10.0000_windows_32-bit_x86.exe /VERYSILENT

PxPlus does not have a fully silent install as it will always bring up the activation screen.
Principal Software Engineer for PVX Plus Technologies LTD.

rnordin

Do you think PxPlus might modify the install to read a configuration file that contains the keys? The forum shows this topic has been read 395 times, so their might be some interest.

Stéphane Devouard

Quote from: Devon Austen on July 17, 2018, 11:33:00 AM
It is possible to run the Windows installers for some of our products in silent mode so no user interaction is needed.

PxPlus WindX Plug-in: From the command line run pxp1500-0001-WPI.exe /s /v"/qn"

Devon,

Is it possible to pass arguments on the command-line and control the installation directory  -- e.g. "C:\MyApp\Client" instead of the default "C:\PVX Plus Technologies\..." ?

TIA
Stéphane Devouard
Portfolio | Work

Devon Austen

Rob,

That may be a good idea. I would suggest creating a post on the wish list board of this forum and asking for anyone else who want's that feature to comment. That will help us gauge interest in that feature which can help us prioritize it.

Stéphane,

I don't know if that is possible or not. A quick look into things and I could not find a way to do it, but that doesn't mean it is not possible. I would guess we would need to enhance the installer to allow that type of specification.

Principal Software Engineer for PVX Plus Technologies LTD.

Stéphane Devouard

Devon

In the meantime after browsing some forums and articles, I found that specifying property=value pairs on the command line may work
INSTALLDIR=xxx or TARGETDIR=xxx were the suggested properties

I tried both, either within /v"/qn INSTALLDIR=xxx" or outside /v"/qn" INSTALLDIR=xxx
- In the first case, I am getting a popup message box from msiexec with the valid command line options
- In the second case, no popup but the property is ignored and WindX installs in the default directory

I'll add an entry to the wish list forum

Thanks !
Stéphane Devouard
Portfolio | Work

EVa

Stéphane,


If you extract the MSI file from the installation executable, you can use those settings:

msiexec /i "C:\Temp\MSI\PVX Plus Development Suite 2017.msi"  /quiet /qn /log C:\temp\msi.log TARGETDIR="C:\" INSTALLDIR="C:\WindX V13"

Stéphane Devouard

Eric


Wow, that's great.
Next question is : how do you extract the MSI from the executable ? Guess I need a copy of Installshield ?


TIA
Stéphane Devouard
Portfolio | Work

Devon Austen

Try

pxp1700-0000-W32.exe /s /x /b"C:\FolderInWhichMSIWillBeExtracted" /v"/qn"

this should extract the msi to the folder specified.

I found the answer here: https://stackoverflow.com/questions/1547809/extract-msi-from-exe (the second answer)
Principal Software Engineer for PVX Plus Technologies LTD.