# ===================================================================================================
# Installation User
# ===================================================================================================

# Removed Files/Folders
## REMOVED FILES USER ##

# Copy Files/Folders
## COPY FILES USER ##

# Removed Registry Keys
## REMOVED KEYS USER ##

# Changed Registry Keys
## CHANGED KEYS USER ##
 
# Added Registry Keys
## ADDED KEYS USER ##

# Shortcuts
## SHORTCUTS USER ##



# ===================================================================================================
# Some Examples - Delete if they are not needed
# ===================================================================================================
# Copy Files
SF-Copy "%_PkgCache%\User\ApplicationData" "%_ApplicationData%" -Newer

# Language (User) - Function to create _PkgLang Variable
SF-Language "1031,1033,1036,1040" "1033"

# DEU
If ((SF-Variables "%_PkgLang%") -eq "1031") {
    SF-Register32 "HKey_Current_User" "Software\Adobe\Acrobat Reader\11.0\Language\current" "" "locale\de_de\rdlang32.deu" "REG_SZ"
    SF-INIWrite "%_ApplicationData%\Canneverbe Limited\CDBurnerXP\UserSettings.ini" "General" "AppLanguage" "de-DE"
}
# ENU
ElseIf ((SF-Variables "%_PkgLang%") -eq "1033") {
    SF-Register32 "HKey_Current_User" "Software\Adobe\Acrobat Reader\11.0\Language\current" "" "acrord32.dll" "REG_SZ"
    SF-INIWrite "%_ApplicationData%\Canneverbe Limited\CDBurnerXP\UserSettings.ini" "General" "AppLanguage" "en-US"
}
# FRA
ElseIf ((SF-Variables "%_PkgLang%") -eq "1036") {
    SF-Register32 "HKey_Current_User" "Software\Adobe\Acrobat Reader\11.0\Language\current" "" "locale\fr_fr\rdlang32.fra" "REG_SZ"
    SF-INIWrite "%_ApplicationData%\Canneverbe Limited\CDBurnerXP\UserSettings.ini" "General" "AppLanguage" "fr-FR"
}
# ITA
ElseIf ((SF-Variables "%_PkgLang%") -eq "1040") {
    SF-Register32 "HKey_Current_User" "Software\Adobe\Acrobat Reader\11.0\Language\current" "" "locale\it_it\rdlang32.ita" "REG_SZ"
    SF-INIWrite "%_ApplicationData%\Canneverbe Limited\CDBurnerXP\UserSettings.ini" "General" "AppLanguage" "it-IT"   
}

# Disable Autoupdate
SF-INIWrite "%_ApplicationData%\Canneverbe Limited\CDBurnerXP\UserSettings.ini" "General" "AutoUpdate" "0"

# ===================================================================================================
# END
# ===================================================================================================