This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- value of BATCH_INSTALL system variable
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 01, 2011
11:02 PM
value of BATCH_INSTALL system variable
I want to know how the values of BATCH_INSTALL system variable changes during the installation process? In my installer when I was using it on Windows 7, during debugging I found that the value of BATCH_INSTALL system variable becomes -1 (i.e neither TRUE nor FALSE). So I want to know why the value of BATCH_INSTALL becomes -1?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 08, 2011
04:32 PM
Per the BATCH_INSTALL documentation:
From a technical perspective, the BATCH_INSTALL variable is bound to an internal COM object property in the InstallScript engine. Since the property follows COM data type semantics, it is internally defined as a VARIANT_BOOL. A true value for a VARIANT_BOOL is VARIANT_TRUE, or -1.
The BATCH_INSTALL system variable is set to a non-zero value to indicate that one or more operations need to be performed after the target system restarts.
...
If BATCH_INSTALL is set to FALSE, no locked files were found and the installation process can end normally.
From a technical perspective, the BATCH_INSTALL variable is bound to an internal COM object property in the InstallScript engine. Since the property follows COM data type semantics, it is internally defined as a VARIANT_BOOL. A true value for a VARIANT_BOOL is VARIANT_TRUE, or -1.