2 Attachment(s)
/V works and doesnt work - perhaps
I have 2 scripts using the /V feature. One is a test script, which works. The other is a production script, which doesnt.
The command line looks like this:
SetupFileName.EXE /S /Q /V _PAC_ "A long string of gibberish with no embedded spaces"
Working script:
Attachment 4964
"Working" means the message displays the value included on the command line after the /V _PAC_ "ie, this value"
Not working script:
Attachment 4965
Is there something about the DLL call that requires we do something differently?
When the not-working script is run, the DLL displays a window, even when /V _PAC_ "stuff" is used.
Mark
4 Attachment(s)
Re: /V works and doesnt work - perhaps
Hi Mark,
it's working fine here. I have created a GETPCC.DLL demo DLL and a SetupBuilder project.
Source code (Clarion .PRJ and SetupBuilder 10 .SBP) can be found here:
https://www.setupbuilder.com/projects/PACDLL.zip
See attached screenshots. The Clarion DLL displays the "A long string of gibberish with no embedded spaces" value from the command line.
Does this help?
Friedrich
Re: /V works and doesnt work - perhaps
Friedrich,
I found a bug in the script, so that helped somewhat re: the PAC string.
We also had a feature selection not being set when /S was used... kind of important if all of the files are associated with the feature:)
Mark
1 Attachment(s)
Re: /V works and doesnt work - perhaps
Friedrich,
In a related matter, should /X require this IF ELSE END code in order to avoid having the dialog override the /X value I provided on the command line?
Mark
Attachment 4977
Re: /V works and doesnt work - perhaps
Mark,
Yes, you can do this to avoid the Select Install Folder dialog. But what I do is I handle this from within the LOOP WIZARD and then fire a Hide Wizard Dialog "#3" action.
Friedrich
Re: /V works and doesnt work - perhaps
Quote:
Originally Posted by
linder
Mark,
Yes, you can do this to avoid the Select Install Folder dialog. But what I do is I handle this from within the LOOP WIZARD and then fire a Hide Wizard Dialog "#3" action.
Friedrich
The "Check for /X" strategy didnt seem to work, so I will try the solution you provided:)
Thanks!
Mark