This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
userspace:adobe_reader_xi_yet_another [2015/03/29 17:24] SisterOfMercy created |
userspace:adobe_reader_xi_yet_another [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
It contains these files: Data1.cab, setup.exe, AcroRead.msi, | It contains these files: Data1.cab, setup.exe, AcroRead.msi, | ||
There is no need to change the .ini files. \\ | There is no need to change the .ini files. \\ | ||
+ | |||
+ | You may or may not need the shellfolders3264.ins, | ||
< | < | ||
Line 28: | Line 30: | ||
|-- shellfolders3264.ins | |-- shellfolders3264.ins | ||
`-- uninstall3264.ins | `-- uninstall3264.ins | ||
+ | </ | ||
+ | |||
+ | ==== control file ==== | ||
+ | |||
+ | <code winst> | ||
+ | [Package] | ||
+ | version: 1 | ||
+ | depends: | ||
+ | incremental: | ||
+ | |||
+ | [Product] | ||
+ | type: localboot | ||
+ | id: adobe-reader | ||
+ | name: Adobe Reader | ||
+ | description: | ||
+ | advice: Install this application if you prefer it to the standard FoxIt Enterprise PDF Reader. | ||
+ | version: 11.0.10 | ||
+ | priority: 0 | ||
+ | licenseRequired: | ||
+ | productClasses: | ||
+ | setupScript: | ||
+ | uninstallScript: | ||
+ | updateScript: | ||
+ | alwaysScript: | ||
+ | onceScript: | ||
+ | customScript: | ||
+ | userLoginScript: | ||
+ | |||
+ | [Changelog] | ||
+ | adobe-reader (11.0.09-1) testing; urgency=low | ||
+ | |||
+ | * Initial package | ||
+ | |||
+ | -- ICT < | ||
+ | </ | ||
+ | |||
+ | ==== setup3264.ins ==== | ||
+ | |||
+ | <code winst> | ||
+ | ; Copyright (c) uib gmbh (www.uib.de) | ||
+ | ; This sourcecode is owned by uib | ||
+ | ; and published under the Terms of the General Public License. | ||
+ | ; credits: http:// | ||
+ | ; | ||
+ | ; License Management removed | ||
+ | |||
+ | |||
+ | [Actions] | ||
+ | requiredWinstVersion >= " | ||
+ | |||
+ | ;DefVar $MsiId32$ | ||
+ | ;DefVar $UninstallProgram32$ | ||
+ | ;DefVar $MsiId64$ | ||
+ | ;DefVar $UninstallProgram64$ | ||
+ | DefVar $LogDir$ | ||
+ | DefVar $ProductId$ | ||
+ | DefVar $MinimumSpace$ | ||
+ | ;DefVar $InstallDir32$ | ||
+ | ;DefVar $InstallDir64$ | ||
+ | DefVar $ExitCode$ | ||
+ | DefVar $INST_SystemType$ | ||
+ | ;DefVar $INST_architecture$ | ||
+ | DefVar $INST_MsVersion$ | ||
+ | |||
+ | set $INST_MsVersion$ = GetMsVersionInfo | ||
+ | Set $INST_SystemType$ = GetSystemType | ||
+ | ;set $INST_architecture$ = GetProductProperty(" | ||
+ | Set $LogDir$ = " | ||
+ | |||
+ | ; ---------------------------------------------------------------- | ||
+ | ; - Please edit the following values | ||
+ | ; ---------------------------------------------------------------- | ||
+ | ; | ||
+ | ; therefore please: only lower letters, no umlauts, | ||
+ | ; no white space use ' | ||
+ | Set $ProductId$ | ||
+ | Set $MinimumSpace$ | ||
+ | ; the path were we find the product after the installation | ||
+ | ;Set $InstallDir32$ | ||
+ | ;Set $InstallDir64$ | ||
+ | ; ---------------------------------------------------------------- | ||
+ | |||
+ | if not(HasMinimumSpace (" | ||
+ | LogError "Not enough space on %SystemDrive%, | ||
+ | isFatalError | ||
+ | ; Stop process and set installation status to failed | ||
+ | endif | ||
+ | if $INST_MsVersion$ < " | ||
+ | LogError " | ||
+ | isFatalError | ||
+ | endif | ||
+ | |||
+ | comment "Show product picture" | ||
+ | ShowBitmap " | ||
+ | |||
+ | if FileExists(" | ||
+ | comment "Set Shell Folders section" | ||
+ | Sub " | ||
+ | endif | ||
+ | |||
+ | if FileExists(" | ||
+ | comment "Start uninstall sub section" | ||
+ | Sub " | ||
+ | endif | ||
+ | |||
+ | comment " | ||
+ | |||
+ | if ($INST_SystemType$ = "x86 System" | ||
+ | ;and ($INST_architecture$ = " | ||
+ | Message " | ||
+ | comment "Start setup program" | ||
+ | Winbatch_install_32 /32Bit | ||
+ | Sub_check_exitcode | ||
+ | comment " | ||
+ | Winbatch_shellex_32 /32Bit | ||
+ | comment "Copy files" | ||
+ | Files_install_32 /32Bit | ||
+ | comment "Patch Registry" | ||
+ | Registry_install /32Bit | ||
+ | Registry_install_AllProfiles / | ||
+ | comment " | ||
+ | LinkFolder_install | ||
+ | endif | ||
+ | |||
+ | if ($INST_SystemType$ = "64 Bit System" | ||
+ | ;and (($INST_architecture$ = " | ||
+ | Message " | ||
+ | comment "Start setup program" | ||
+ | Winbatch_install_32 /64Bit | ||
+ | Sub_check_exitcode | ||
+ | comment " | ||
+ | Winbatch_shellex_64 /64Bit | ||
+ | comment "Copy files" | ||
+ | Files_install_64 /64Bit | ||
+ | comment "Patch Registry" | ||
+ | Registry_install /64Bit | ||
+ | Registry_install_AllProfiles / | ||
+ | comment " | ||
+ | LinkFolder_install | ||
+ | endif | ||
+ | |||
+ | |||
+ | [Winbatch_install_32] | ||
+ | " | ||
+ | |||
+ | ; | ||
+ | ; Help | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | ; ARM | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | ; Updater | ||
+ | ; Plugins | ||
+ | ; | ||
+ | ; | ||
+ | ; | ||
+ | |||
+ | [Winbatch_shellex_32] | ||
+ | ; Disable unneeded shell extensions | ||
+ | ; | ||
+ | ; | ||
+ | " | ||
+ | |||
+ | ;Extension Name : Adobe PDF Preview Handler | ||
+ | ; | ||
+ | " | ||
+ | |||
+ | [Winbatch_shellex_64] | ||
+ | ; Disable unneeded shell extensions | ||
+ | ; | ||
+ | ; | ||
+ | " | ||
+ | " | ||
+ | |||
+ | ;Extension Name : Adobe PDF Preview Handler | ||
+ | ; | ||
+ | " | ||
+ | " | ||
+ | |||
+ | [Files_install_32] | ||
+ | ; Example of recursively copying some files into the installation directory: | ||
+ | ; | ||
+ | ; copy -s " | ||
+ | |||
+ | [Winbatch_install_64] | ||
+ | ; Choose one of the following examples as basis for your installation | ||
+ | ; You can use $LicenseKey$ var to pass a license key to the installer | ||
+ | ; | ||
+ | ; === Nullsoft Scriptable Install System ================================================================ | ||
+ | ; " | ||
+ | ; | ||
+ | ; === MSI package ======================================================================================= | ||
+ | ; You may use the parameter PIDKEY=$Licensekey$ | ||
+ | ; msiexec /i " | ||
+ | ; | ||
+ | ; === InstallShield + MSI===================================================================================== | ||
+ | ; Attention: The path to the log file should not contain any whitespaces | ||
+ | ; " | ||
+ | ; " | ||
+ | ; | ||
+ | ; === InstallShield ===================================================================================== | ||
+ | ; Create setup.iss answer file by running: setup.exe /r / | ||
+ | ; " | ||
+ | ; | ||
+ | ; === Inno Setup ======================================================================================== | ||
+ | ; http:// | ||
+ | ; You may create setup answer file by: setup.exe / | ||
+ | ; You may use an answer file by the parameter / | ||
+ | ; " | ||
+ | |||
+ | [Files_install_64] | ||
+ | ; Example of recursively copying some files into the installation directory: | ||
+ | ; | ||
+ | ; copy -s " | ||
+ | |||
+ | [Registry_install] | ||
+ | |||
+ | [Registry_install_AllProfiles] | ||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\AutoSaveDocs] | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\IPM] | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\JSPrefs] | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\MeasuringGeo] | ||
+ | set " | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\Originals] | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\Security\cDigSig\cCustomDownload] | ||
+ | set " | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\UsageMeasurement] | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\CommonFiles\Usage\Reader 11] | ||
+ | set " | ||
+ | |||
+ | openkey [HKEY_CURRENT_USER\Software\Adobe\CommonFiles\Usage\Reader 11\Demographic] | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | |||
+ | ; Remove stored start menu order | ||
+ | deletekey [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu] | ||
+ | |||
+ | [LinkFolder_install] | ||
+ | ; Example of deleting a folder from AllUsers startmenu: | ||
+ | ; | ||
+ | ; set_basefolder common_programs | ||
+ | ; delete_subfolder $ProductId$ | ||
+ | ; | ||
+ | ; Example of creating an shortcut to the installed exe in AllUsers startmenu: | ||
+ | ; | ||
+ | ; set_basefolder common_programs | ||
+ | ; set_subfolder $ProductId$ | ||
+ | ; | ||
+ | ; set_link | ||
+ | ; name: $ProductId$ | ||
+ | ; target: <path to the program> | ||
+ | ; parameters: | ||
+ | ; working_dir: | ||
+ | ; icon_file: | ||
+ | ; icon_index: | ||
+ | ; end_link | ||
+ | ; | ||
+ | ; Example of creating an shortcut to the installed exe on AllUsers desktop: | ||
+ | ; | ||
+ | ; set_basefolder common_desktopdirectory | ||
+ | ; set_subfolder "" | ||
+ | ; | ||
+ | ; set_link | ||
+ | ; name: $ProductId$ | ||
+ | ; target: <path to the program> | ||
+ | ; parameters: | ||
+ | ; working_dir: | ||
+ | ; icon_file: <path to icon file> | ||
+ | ; icon_index: | ||
+ | ; end_link | ||
+ | |||
+ | |||
+ | [Sub_check_exitcode] | ||
+ | comment "Test for installation success via exit code" | ||
+ | set $ExitCode$ = getLastExitCode | ||
+ | ; informations to exit codes see | ||
+ | ; http:// | ||
+ | ; http:// | ||
+ | if ($ExitCode$ = " | ||
+ | comment "Looks good: setup program gives exitcode zero" | ||
+ | else | ||
+ | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | ||
+ | if ($ExitCode$ = " | ||
+ | comment " | ||
+ | comment " | ||
+ | else | ||
+ | if ($ExitCode$ = " | ||
+ | comment "looks good: setup program gives exitcode 1641" | ||
+ | comment " | ||
+ | else | ||
+ | if ($ExitCode$ = " | ||
+ | comment "looks good: setup program gives exitcode 3010" | ||
+ | comment " | ||
+ | else | ||
+ | logError " | ||
+ | isFatalError | ||
+ | endif | ||
+ | endif | ||
+ | endif | ||
+ | endif | ||
+ | </ | ||
+ | |||
+ | ==== uninstall3264.ins ==== | ||
+ | |||
+ | <code winst> | ||
+ | ; Copyright (c) uib gmbh (www.uib.de) | ||
+ | ; This sourcecode is owned by uib gmbh | ||
+ | ; and published under the Terms of the General Public License. | ||
+ | ; credits: http:// | ||
+ | ; | ||
+ | ; License Management removed | ||
+ | |||
+ | [Actions] | ||
+ | requiredWinstVersion >= " | ||
+ | |||
+ | ;DefVar $MsiId32$ | ||
+ | ;DefVar $UninstallProgram32$ | ||
+ | ;DefVar $MsiId64$ | ||
+ | ;DefVar $UninstallProgram64$ | ||
+ | DefVar $LogDir$ | ||
+ | DefVar $ExitCode$ | ||
+ | DefVar $ProductId$ | ||
+ | ;DefVar $InstallDir32$ | ||
+ | ;DefVar $InstallDir64$ | ||
+ | DefVar $INST_SystemType$ | ||
+ | ;DefVar $INST_architecture$ | ||
+ | DefVar $INST_MsVersion$ | ||
+ | |||
+ | Set $INST_MsVersion$ = GetMsVersionInfo | ||
+ | Set $INST_SystemType$ = GetSystemType | ||
+ | ;set $INST_architecture$ = GetProductProperty(" | ||
+ | |||
+ | |||
+ | Set $LogDir$ = " | ||
+ | |||
+ | ; ---------------------------------------------------------------- | ||
+ | ; - Please edit the following values | ||
+ | ; ---------------------------------------------------------------- | ||
+ | Set $ProductId$ | ||
+ | ;Set $InstallDir32$ | ||
+ | ;Set $InstallDir64$ | ||
+ | ; ---------------------------------------------------------------- | ||
+ | |||
+ | |||
+ | comment "Show product picture" | ||
+ | ShowBitmap " | ||
+ | |||
+ | Message " | ||
+ | |||
+ | if FileExists(" | ||
+ | comment "Set Shell Folders section" | ||
+ | Sub " | ||
+ | endif | ||
+ | |||
+ | if FileExists(" | ||
+ | comment "Start uninstall sub section" | ||
+ | Sub " | ||
+ | endif | ||
+ | </ | ||
+ | |||
+ | ==== delsub3264.ins ==== | ||
+ | |||
+ | <code winst> | ||
+ | ; Copyright (c) uib gmbh (www.uib.de) | ||
+ | ; This sourcecode is owned by uib gmbh | ||
+ | ; and published under the Terms of the General Public License. | ||
+ | ; credits: http:// | ||
+ | ; | ||
+ | ; License Management removed | ||
+ | |||
+ | |||
+ | DefStringList $result$ | ||
+ | DefStringList $result1$ | ||
+ | DefVar $appKey$ | ||
+ | DefVar $UninstallCommandList$ | ||
+ | DefVar $appString$ | ||
+ | DefVar $appKeyString$ | ||
+ | DefVar $testName$ | ||
+ | ;DefVar $exeString$ | ||
+ | |||
+ | Set $appKeyString$ = " | ||
+ | Set $appString$ = "Adobe Reader" | ||
+ | |||
+ | ;Set $MsiId32$ = ' | ||
+ | ;Set $UninstallProgram32$ = $InstallDir32$ + " | ||
+ | |||
+ | ;Set $MsiId64$ = ' | ||
+ | ;Set $UninstallProgram64$ = $InstallDir64$ + " | ||
+ | |||
+ | if ($INST_SystemType$ = "x86 System" | ||
+ | ;and ($INST_architecture$ = " | ||
+ | Message " | ||
+ | |||
+ | Set $result$ = getRegistryKeyList32(" | ||
+ | for $app$ in $result$ do Sub_searchApp32 | ||
+ | if not ($UninstallCommandList$ = "" | ||
+ | set $result1$ = splitString($UninstallCommandList$,"::" | ||
+ | for $UninstallCommand$ in $result1$ do Winbatch_uninstall_32 /32Bit | ||
+ | sub_check_exitcode | ||
+ | endif | ||
+ | |||
+ | |||
+ | ; if FileExists($UninstallProgram32$) | ||
+ | ; comment " | ||
+ | ; | ||
+ | ; | ||
+ | ; endif | ||
+ | |||
+ | ; if not (GetRegistryStringValue32(" | ||
+ | ; comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall" | ||
+ | ; | ||
+ | ; | ||
+ | ; endif | ||
+ | |||
+ | comment " | ||
+ | Files_uninstall_32 /32Bit | ||
+ | comment " | ||
+ | Registry_uninstall /32Bit | ||
+ | Registry_uninstall_AllProfiles / | ||
+ | endif | ||
+ | |||
+ | if ($INST_SystemType$ = "64 Bit System" | ||
+ | ;and (($INST_architecture$ = " | ||
+ | Message " | ||
+ | |||
+ | ; Set $result$ = getRegistryKeyList64(" | ||
+ | ; for $app$ in $result$ do Sub_searchApp64 | ||
+ | ; if not ($UninstallCommandList$ = "" | ||
+ | ; set $result1$ = splitString($UninstallCommandList$,"::" | ||
+ | ; for $UninstallCommand$ in $result1$ do Winbatch_uninstall_64 /64Bit | ||
+ | ; | ||
+ | ; endif | ||
+ | |||
+ | set $UninstallCommandList$ = "" | ||
+ | Set $result$ = getRegistryKeyList32(" | ||
+ | for $app$ in $result$ do Sub_searchApp32 | ||
+ | if not ($UninstallCommandList$ = "" | ||
+ | set $result1$ = splitString($UninstallCommandList$,"::" | ||
+ | for $UninstallCommand$ in $result1$ do Winbatch_uninstall_32 /32Bit | ||
+ | sub_check_exitcode | ||
+ | endif | ||
+ | |||
+ | ; if FileExists($UninstallProgram64$) | ||
+ | ; comment " | ||
+ | ; | ||
+ | ; | ||
+ | ; endif | ||
+ | |||
+ | ; if not (GetRegistryStringValue64(" | ||
+ | ; comment "MSI id " + $MsiId64$ + " found in registry, starting msiexec to uninstall" | ||
+ | ; | ||
+ | ; | ||
+ | ; endif | ||
+ | |||
+ | comment " | ||
+ | Files_uninstall_64 /64Bit | ||
+ | comment " | ||
+ | Registry_uninstall /64Bit | ||
+ | Registry_uninstall_AllProfiles / | ||
+ | endif | ||
+ | |||
+ | comment " | ||
+ | LinkFolder_uninstall | ||
+ | |||
+ | [Winbatch_uninstall_32] | ||
+ | $UninstallCommand$ | ||
+ | |||
+ | [Winbatch_uninstall_msi_32] | ||
+ | msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress | ||
+ | |||
+ | [Files_uninstall_32] | ||
+ | ; Example for recursively deleting the installation directory (don't forget the trailing backslash): | ||
+ | ; | ||
+ | ; delete -sf " | ||
+ | |||
+ | [Winbatch_uninstall_64] | ||
+ | $UninstallCommand$ | ||
+ | |||
+ | [Winbatch_uninstall_msi_64] | ||
+ | msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress | ||
+ | |||
+ | [Files_uninstall_64] | ||
+ | ; Example for recursively deleting the installation directory (don't forget the trailing backslash): | ||
+ | ; | ||
+ | ; delete -sf " | ||
+ | |||
+ | [Registry_uninstall] | ||
+ | ; Example of deleting a registry key: | ||
+ | ; | ||
+ | ; deletekey [HKEY_LOCAL_MACHINE\Software\$ProductId$] | ||
+ | |||
+ | [Registry_uninstall_AllProfiles] | ||
+ | deletekey [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader] | ||
+ | deletekey [HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat] | ||
+ | deletekey [HKEY_CURRENT_USER\Software\Adobe\Adobe ARM] | ||
+ | deletekey [HKEY_CURRENT_USER\Software\Adobe\Adobe Synchronizer] | ||
+ | deletekey [HKEY_CURRENT_USER\Software\Adobe\CommonFiles] | ||
+ | |||
+ | [LinkFolder_uninstall] | ||
+ | ; Example of deleting a folder from AllUsers startmenu: | ||
+ | ; | ||
+ | ; set_basefolder common_programs | ||
+ | ; delete_subfolder $ProductId$ | ||
+ | ; | ||
+ | ; Example of deleting a shortcut from AllUsers desktop: | ||
+ | ; | ||
+ | ; set_basefolder common_desktopdirectory | ||
+ | ; set_subfolder "" | ||
+ | ; delete_element $ProductId$ | ||
+ | |||
+ | [Sub_check_exitcode] | ||
+ | comment "Test for installation success via exit code" | ||
+ | set $ExitCode$ = getLastExitCode | ||
+ | ; informations to exit codes see | ||
+ | ; http:// | ||
+ | ; http:// | ||
+ | if ($ExitCode$ = " | ||
+ | comment "Looks good: setup program gives exitcode zero" | ||
+ | else | ||
+ | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | ||
+ | if ($ExitCode$ = " | ||
+ | comment " | ||
+ | comment " | ||
+ | else | ||
+ | if ($ExitCode$ = " | ||
+ | comment "looks good: setup program gives exitcode 1641" | ||
+ | comment " | ||
+ | else | ||
+ | if ($ExitCode$ = " | ||
+ | comment "looks good: setup program gives exitcode 3010" | ||
+ | comment " | ||
+ | else | ||
+ | logError " | ||
+ | isFatalError | ||
+ | endif | ||
+ | endif | ||
+ | endif | ||
+ | endif | ||
+ | |||
+ | [Sub_searchApp32] | ||
+ | set $appKey$ = " | ||
+ | Set $testName$ = GetRegistryStringValue32($appKey$) | ||
+ | if contains($testName$, | ||
+ | ; set $appKey$ = " | ||
+ | ; Set $testName$ = GetRegistryStringValue32($appKey$) | ||
+ | ;if contains(lower($testName$), | ||
+ | set $UninstallCommandList$ = $UninstallCommandList$ + " | ||
+ | ;else | ||
+ | ; Set $testName$ = unquote($testName$,'"' | ||
+ | ; Set $testName$ = unquote($testName$,"'" | ||
+ | ; Set $exeString$ = takeString(0, | ||
+ | ; set $UninstallCommandList$ = $UninstallCommandList$ + $exeString$ + "exe /S::" | ||
+ | ;endif | ||
+ | endif | ||
+ | |||
+ | [Sub_searchApp64] | ||
+ | set $appKey$ = " | ||
+ | Set $testName$ = GetRegistryStringValue64($appKey$) | ||
+ | if contains($testName$, | ||
+ | ; set $appKey$ = " | ||
+ | ; Set $testName$ = GetRegistryStringValue64($appKey$) | ||
+ | ;if contains(lower($testName$), | ||
+ | set $UninstallCommandList$ = $UninstallCommandList$ + " | ||
+ | ;else | ||
+ | ; Set $testName$ = unquote($testName$,'"' | ||
+ | ; Set $testName$ = unquote($testName$,"'" | ||
+ | ; Set $exeString$ = takeString(0, | ||
+ | ; set $UninstallCommandList$ = $UninstallCommandList$ + '"' | ||
+ | ;endif | ||
+ | endif | ||
+ | </ | ||
+ | |||
+ | ==== shellfolders3264.ins ==== | ||
+ | |||
+ | <code winst> | ||
+ | ; Copyright (c) uib gmbh (www.uib.de) | ||
+ | ; This sourcecode is owned by uib | ||
+ | ; and published under the Terms of the General Public License. | ||
+ | ; credits: http:// | ||
+ | ; | ||
+ | ; License Management removed | ||
+ | |||
+ | |||
+ | if ($INST_SystemType$ = "x86 System" | ||
+ | comment " | ||
+ | Registry_shellfolders /32Bit | ||
+ | endif | ||
+ | |||
+ | if ($INST_SystemType$ = "64 Bit System" | ||
+ | comment " | ||
+ | Registry_shellfolders /64Bit | ||
+ | endif | ||
+ | |||
+ | [Registry_shellfolders] | ||
+ | openkey [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders] | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set "Start Menu" = REG_EXPAND_SZ:" | ||
+ | set " | ||
+ | set " | ||
+ | set " | ||
+ | set "My Pictures" | ||
+ | set "Local Settings" | ||
+ | set "Local AppData" | ||
+ | set " | ||
+ | set " | ||
</ | </ |