Indigo Rose Software

Go Back   Indigo Rose Software Forums > Old Versions > TrueUpdate 1.0

 
 
Thread Tools Display Modes
  #1  
Old 02-08-2004
acedougk acedougk is offline
Indigo Rose Customer
 
Join Date: Feb 2004
Posts: 8
Update Variable Not Set Properly

I've got 4 variable defined in a client configuration file, namely:
%Version%
%Site%
%Developer%
%InstallType%

All of these with the exception of the %Developer% variable are simple Registry string values, except %Developer% which has it's "Set variable to "TRUE" if key exists" option checked.

When the update program runs it is evaluating %Developer% to true when there is no such registry entry.
  #2  
Old 02-11-2004
Adam's Avatar
Adam Adam is offline
Indigo Rose Staff Member
 
Join Date: May 2000
Location: Indigo Rose Software
Posts: 2,154
acedougk,

I con't replicate this. What do you have as the default? When I set this up to read a bogus registry value with True if exists it returns the default.

Adam Kapilik
  #3  
Old 02-12-2004
acedougk acedougk is offline
Indigo Rose Customer
 
Join Date: Feb 2004
Posts: 8
Here's the debug info

Adam,

Here's the info in the debug listing. There is NO Developer registry entry for this Main and sub key:

START: Perform action: Read from Registry
Variable name = %Developer%
Default value = FALSE
Main key = HKEY_CURRENT_USER
Sub key = Software\Better Built Software\EID
Value name = Developer
TRUE if exists = TRUE
Auto-expand if REG_EXPAND_SZ = TRUE
(On Error) User notification mode = None
(On Error) Action = Continue

SET VARIABLE: %Developer% = FALSE
SET VARIABLE: %Developer% = TRUE
SET VARIABLE: %LastErrorNum% = 0
SET VARIABLE: %LastCommand% = 12
SET VARIABLE: %LastErrorMsg% =
SET VARIABLE: %LastErrorDetails% =
END: Perform action: Read from Registry

Hope this helps.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 02:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software