Comment: WinRater / Singlepoint Rating Setup Project
 
Comment: Only using Native Engine - NO MSI
Set Variable NATIVE_ENGINE to TRUE
Comment: This variable gets toggled frequently between ALWAYS and NEVER 
Set Variable NATIVE_OVERWRITE to ALWAYS
Set Variable NATIVE_LOGGING to TRUE
 
[DEFINE REGION: Check Application Requirements]
 
Set Variable Title to TEST_GT
 
[END REGION]
 
[DEFINE REGION: TEST]
 
[DEFINE REGION: Define Setup Globals]
Comment: Define Setup Components
Define Component: Default
 
Comment: Set Variable APPTITLE to $_NAME_$
Set Variable GROUP to $_GROUP_$
 
Comment: Initialize Setup Globals
Get System Setting Windows NT Kernel (NT4, 2000, XP, 2003, Vista, 2008, 7, 2008 R2, 8, 2012) into ISNT
Get Folder Location System->Program Files Directory into PROGRAMFILES
Get Common Folder Location System->Program Files Directory into COMMONFILES
Get Common Folder Location Start Menu->Programs Group into SHORTCUTFILESALL
Get Folder Location Start Menu->Programs Group into SHORTCUTFILES
if Variable SHORTCUTFILESALL Equals 
  Set Variable SHORTCUTFILESALL to $SHORTCUTFILES$
end
Get Folder Location System->Desktop Directory into DESKTOPDIR
Get Folder Location System->Windows Directory into WINDIR
Get Folder Location System->System Directory into WINSYSDIR
Get Folder Location Taskbar->Quick Launch Directory into QUICKLAUNCHDIR
Get Folder Location WWW->WWWRoot into WWWROOTDIR
 
Parse String $PROGRAM_FILES$ into Variables MAINDIR and  (Split at first occurrence of pattern)
Parse String $MAINDIR$ into Variables MAINDIR and  (Split at last occurrence of pattern)
 
[END REGION]
 
 
[DEFINE REGION: Finish Setup]
Set Variable NATIVE_OVERWRITE_OLDER to TRUE
Install Files H:\ProductTesting\WinRater\ReadMe_ReadOnly.txt to C:\A_Test
Set Variable NATIVE_OVERWRITE_OLDER to FALSE
 
[END REGION]
 
