View Full Version : Exchange variables between two setup.exe files
NewsArchive
03-23-2011, 02:17 AM
Hi,
I have two setups created with SetupBuilder 7 and setup #1 calls setup #2.
In both setups I have a variable named %SECURITYID%. Can I pass the variable
value from setup #1 to the variable defined in setup #2?
Thanks in advance for your help.
Perry
NewsArchive
03-23-2011, 02:18 AM
Perry,
> I have two setups created with SetupBuilder 7 and setup #1 calls setup #2.
> In both setups I have a variable named %SECURITYID%. Can I pass the
> variable value from setup #1 to the variable defined in setup #2?
Yes, no problem.
In your SETUP2.EXE, define the variable (and do not set a value). For
example:
Set Variable %SECURITYID% to ""
Then call SETUP2.EXE from SETUP1.EXE with the following command line switch:
/V SECURITYID 0123456789
This will pass the value '0123456789' to the %SECURITYID% variable in SETUP
#2.
Friedrich
NewsArchive
03-23-2011, 02:18 AM
>
> /V SECURITYID 0123456789
>
Wow! Thank you!
Perry Larson
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.