Finding Component Name from pre-built installer?

57 views
Skip to first unread message

Dustin

unread,
Sep 8, 2018, 8:25:40 AM9/8/18
to dotnetinstaller
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 '*'?

Daniel D.

unread,
Sep 8, 2018, 10:20:00 AM9/8/18
to dotneti...@googlegroups.com
Using * should have worked, but maybe it's just the quoting? /ComponentArgs *:"THICK...."?

What does /DisplayConfig show?

--
You received this message because you are subscribed to the Google Groups "dotnetinstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotnetinstaller+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - t:@dblockdotorg - ig:@artdblockdotorgartsy.net - github/dblock
PS: I'm running the NYC TCS Marathon in 2018 for TeamForKids charity. Please donate here.

Dustin

unread,
Sep 8, 2018, 11:26:04 AM9/8/18
to dotnetinstaller
I tried your suggestion and the variable did not pass into the installation.  (I tested installing directly into the MSI and the syntax worked there with THICKCLIENT_INSTALLTYPE=Client)

/DisplayConfig shows the following
PPS1771S -in the box title
Install, lang=English, os83/ MSVC.2013.x86, display_name='Microsoft Visual C++ 2013 Redistributable (x86)', os=83/

I also tried '*', "*" and *
Is there anything else I can try to figure out how to reference the embedded msi?
To unsubscribe from this group and stop receiving emails from it, send an email to dotnetinstall...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Daniel D.

unread,
Sep 8, 2018, 11:59:12 AM9/8/18
to dotneti...@googlegroups.com
Try with the component name? Microsoft Visual C++ 2013 Redistributable (x86)

Not sure what's going on, needs debugging, but I am afraid I can't help further, I haven't had a windows box for years :)

To unsubscribe from this group and stop receiving emails from it, send an email to dotnetinstaller+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages