PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Silent Installation  (Read 9716 times)

Devon Austen

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Silent Installation
« 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
Code: [Select]
pxp1500-0001-WPI.exe /s /v"/qn"
PxPlus SQL ODBC Driver: From the command line run
Code: [Select]
sql_odbc_driver_6.10.0000_windows_32-bit_x86.exe /VERYSILENT
PxPlus SQL Server: From the command line run
Code: [Select]
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

  • New Member
  • *
  • Posts: 1
    • View Profile
Re: Silent Installation
« Reply #1 on: December 11, 2019, 11:33:16 AM »
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

  • Diamond Member
  • *****
  • Posts: 122
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
Re: Silent Installation
« Reply #2 on: December 09, 2020, 08:41:22 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
Code: [Select]
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

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: Silent Installation
« Reply #3 on: December 09, 2020, 11:15:31 AM »
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

  • Diamond Member
  • *****
  • Posts: 122
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
Re: Silent Installation
« Reply #4 on: December 09, 2020, 12:24:31 PM »
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

  • Gold Member
  • ****
  • Posts: 54
    • View Profile
    • EDIAS
Re: Silent Installation
« Reply #5 on: January 26, 2021, 05:05:29 AM »
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

  • Diamond Member
  • *****
  • Posts: 122
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
Re: Silent Installation
« Reply #6 on: January 26, 2021, 07:19:31 AM »
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

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: Silent Installation
« Reply #7 on: January 26, 2021, 09:19:39 AM »
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.