HI, I am an end user who has an installation file being distributed using dotnetinstaller.
I'm attempting to pass command line variables to an embedded msi in a dotnetinstaller that someone else has created. However I'm having difficulty knowing what to reference as the name of this msi package.
The installer is called PPS1771S.exe
I've extracted this file into it's parts using the /Extract command. So using that resulting MSI file we now know what switches to pass to the MSI.
The problem arrises on how to pass the command switches from the dotnetinstaller EXE of PPS1771S.exe into the embedded MSI of "Bottle -PPS1771.msi"
We've ran the PPS1771S.exe with logging enabled and it seems to be referenced by '*' instead of a name. Results of partial logfile below.
2018-09-07 09:05:50 Extracting embedded files for component '*': 3 CAB(s)
2018-09-07 09:05:50 Resolved CAB path 'C:\Users\Owner\AppData\Local\Temp\{XXXXXXX-1863-4FE2-8B49-614D4711EF93}' for component '*'
2018-09-07 09:05:50 Extracting 'SETUP_1.CAB' for component '*'
2018-09-07 09:05:50 Extracting: C:\Users\Owner\AppData\Local\Temp\{XXXXXXX-1863-4FE2-8B49-614D4711EF93}\SupportFiles\product\Bottle -PPS1771.msi
2018-09-07 09:05:51 Done: C:\Users\Owner\AppData\Local\Temp\{XXXXXXX-1863-4FE2-8B49-614D4711EF93}\SupportFiles\product\Bottle -PPS1771.msi
2018-09-07 09:05:51 --- Complete Command
2018-09-07 09:05:51 Executing complete command: msiexec.exe /i "C:\Users\Owner\AppData\Local\Temp\{XXXXXX-1863-4FE2-8B49-614D4711EF93}\SupportFiles\product\Bottle -PPS1771.msi"
2018-09-07 09:09:29 Deleting temporary folder: C:\Users\Owner\AppData\Local\Temp\{XXXXXX-1863-4FE2-8B49-614D4711EF93}
2018-09-07 09:09:29 dotNetInstaller finished, return code=0
I've tested the following switches using the MSI and verified they function.
msiexec /i "Bottle -PPS1771.msi" /qb /l* c:\temp\logfile.txt THICKCLIENT_INSTALLTYPE=Client
When trying to pass the cmdline switches, I can't find the name of the embedded MSI package Here are the things I've tried that have not worked.
PPS1771S.EXE /ComponentArgs '*':"THICKCLIENT_INSTALLTYPE=Client"
PPS1771S.EXE /ComponentArgs 'Bottle -PPS1771.msi':"THICKCLIENT_INSTALLTYPE=Client"
PPS1771S.EXE /ComponentArgs 'Bottle -PPS1771':"THICKCLIENT_INSTALLTYPE=Client"
When running PPS1771S.exe /displaycab I get the following
Total CAB size: 262.9MB
MSVC_2013_x86 CAB size: 6.2MB
SupportFiles\vcredist_x86_2013\vcredist_x86.exe - 6.2MB
* CAB size: 256.7MB
SupportFiles\product\Bottle -PPS1771.msi - 256.7MB
How do I pass my variables to a name of '*'?