; ###########################################################################
; # ___ ___ \\\ /// #
; # \\\\ ///\\\ //// [|||||] ||||\\\ |||| /// \\\ /// \\\ /// #
; # \\\\ /// \\\ //// ||||| |||| \\\ |||| ||| ||| === ||| #
; # \\\\/// \\\//// [|||||] |||| \\\|||| \\\ /// /// /// \\\ #
; # ��� ��� /// \\\ #
; # #
; # *Blue : Reg and script #
; # *Red : Important script #
; # *Green : Macro #
; # #
; ############################################################################
;WinOSX, par Kemenaran
;Transformez Windows XP en Mac OS X !
;Script g�n�r� � l'aide de Venis IX
; Initialisation
!define APPNAME "WinOSX"
!define APPVERSION "2"
!define APPBUILD
"2.0.2.0"
!define BUILDTYPE ""
;Debug Settings
!define PF_KEEP_LOGS
;!define PF_DEBUG
; Includes
!include UpgradeDLL.nsh
!include include\Functions.nsh
!include
files\ResPatcher\include\PatchFiles.nsh
!include include\RIC.nsh
!include include\regfont.nsh
!include include\SimpleUpgradeFile.nsh
!addplugindir include\plugins
; Main Install
settings
!define APPNAMEANDVERSION
"${APPNAME} ${APPVERSION}"
Name
"${APPNAMEANDVERSION}"
InstallDir
"$PROGRAMFILES\${APPNAME}"
InstallDirRegKey HKCU
"Software\${APPNAME}" ""
OutFile "${APPNAME}
${APPVERSION}${BUILDTYPE}.exe"
BrandingText "Copyright �
KemenAran WinOSX ${APPVERSION}"
CRCCheck on
;Executable Settings
VIProductVersion
"${APPBUILD}"
VIAddVersionKey ProductName
"${APPNAME}"
VIAddVersionKey Comments
""
VIAddVersionKey CompanyName
"KemenAran, Inc"
VIAddVersionKey LegalCopyright
"Copyright � 2003-2005 KemenAran"
VIAddVersionKey FileDescription
"Turn Windows XP into Mac OS X !"
VIAddVersionKey FileVersion
"${APPVERSION}.0.0"
VIAddVersionKey ProductVersion
"${APPVERSION}"
VIAddVersionKey InternalName
"${APPNAME} ${APPVERSION}${BUILDTYPE}"
VIAddVersionKey LegalTrademarks "All softwares,
skins, sounds and documents included in this pack are owned by their respective
authors."
VIAddVersionKey OriginalFilename
"${APPNAME} ${APPVERSION}.exe"
;
###########################
; Installer/Uninstaller
Pages
;
###########################
; Modern interface
settings
!include "MUI.nsh"
!define MUI_ABORTWARNING
!define MUI_ICON
".\Divers\Images\tiger.ico"
!define MUI_UNICON
".\Divers\Images\tiger.ico"
!define
MUI_COMPONENTSPAGE_CHECKBITMAP ".\divers\images\AquaChecks.bmp"
!define
MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_LANGDLL_REGISTRY_ROOT
"HKCU"
!define MUI_LANGDLL_REGISTRY_KEY
"Software\WinOSX"
!define
MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
!define MUI_LANGDLL_ALWAYSSHOW
;Welcome page
!define
MUI_WELCOMEFINISHPAGE_BITMAP ".\divers\images\winosx2.bmp"
!define
MUI_UNWELCOMEFINISHPAGE_BITMAP ".\divers\images\winosx2uninst.bmp"
!insertmacro MUI_PAGE_WELCOME
;License Page
!define MUI_LICENSEPAGE_CHECKBOX
!insertmacro MUI_PAGE_LICENSE
"Divers\Documents\license.rtf"
;Read-me Page
!define MUI_PAGE_HEADER_TEXT
$(README_HEADER_TEXT)
!define MUI_PAGE_HEADER_SUBTEXT
$(README_HEADER_SUBTEXT)
!define
MUI_LICENSEPAGE_TEXT_BOTTOM $(README_TEXT_BOTTOM)
!define MUI_LICENSEPAGE_TEXT_TOP
$(README_TEXT_TOP)
!define MUI_LICENSEPAGE_BUTTON
$(README_BUTTON)
!insertmacro MUI_PAGE_LICENSE
$(myLicenseData)
;Other pages
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
; Uninstaller Settings :
!define MUI_UNABORTWARNING
;Uninstaller pages :
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro
MUI_UNPAGE_COMPONENTS
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
; ####################
; Languages Definition
; ####################
!insertmacro MUI_LANGUAGE
"English"
!insertmacro MUI_LANGUAGE
"French"
!insertmacro MUI_LANGUAGE
"German"
!insertmacro MUI_LANGUAGE
"Spanish"
!insertmacro MUI_LANGUAGE
"SimpChinese"
!insertmacro MUI_LANGUAGE
"TradChinese"
!insertmacro MUI_LANGUAGE
"Japanese"
!insertmacro MUI_LANGUAGE
"Korean"
!insertmacro MUI_LANGUAGE
"Italian"
!insertmacro MUI_LANGUAGE
"Dutch"
!insertmacro
MUI_RESERVEFILE_LANGDLL
;Insert custom translations
!include
"include\lang\english.nsh"
!include
"include\lang\french.nsh"
!include
"include\lang\german.nsh"
!include
"include\lang\spanish.nsh"
!include
"include\lang\simpchinese.nsh"
!include
"include\lang\tradchinese.nsh"
!include "include\lang\japanese.nsh"
!include
"include\lang\korean.nsh"
!include
"include\lang\italian.nsh"
!include
"include\lang\dutch.nsh"
; ################
; Install Section
; ################
#Define both install
and uninstall PatchFiles macros
!define RES_DIR
"files\Resources.OSX\all\*.*"
!insertmacro
DefineSysfilePatcherMacros ""
!undef RES_DIR
!define RES_DIR
"files\Resources.XP\all\*.*"
!insertmacro
DefineSysfilePatcherMacros "un."
Section -InitSection
LogSet on
SectionEnd
Section
$(Name_Section1) Section1
; Set Section properties
SetOverwrite
ifnewer
SectionIn 1 2
SetDetailsPrint both
DetailPrint $(Installing_themes)
!ifndef PF_DEBUG
SetDetailsPrint none
!endif
; Set Section Files and Shortcuts
SetOutPath
"$WINDIR\Resources"
File /r ".\Themes"
;Install Lucida Grande Font
StrCpy $FONT_DIR $FONTS
!insertmacro InstallFONFont 'Lucida Grande.ttf' 'Lucida
Grande'
;Copy bmp version of wallpaper
StrCpy $1
"$WINDIR\Resources\Themes\Tiger\Wallpapers\AquaWall.bmp"
CopyFiles /SILENT "$1"
"$PROFILE\Local Settings\Application Data\Microsoft"
Delete "$1"
;Apply
Theme on reboot
!include
"include\WinOSX.theme.nsh"
;Creating
Shortcuts
CreateDirectory
"$SMPROGRAMS\WinOSX\$(StartMenu_Themes_Folder)"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(StartMenu_Themes_Shortcut).lnk"
"$WINDIR\Resources\Themes\WinOSX.theme"
CreateDirectory
"$SMPROGRAMS\WinOSX\$(StartMenu_Styles_Folder)"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(StartMenu_Styles_Shortcut).lnk"
"$WINDIR\Resources\Themes\Tiger\Tiger.msstyles"
SectionEnd
;
##########################
; ObjectDock
;
##########################
SectionGroup
$(Name_Section2) Section2
Section $(Name_ObjectDock)
ObjectDock
;Set
Section properties
SetOverwrite ifnewer
SectionIn 1 2
SetDetailsPrint both
DetailPrint
$(Installing_Dock)
!ifndef PF_DEBUG
SetDetailsPrint
none
!endif
KillProcDLL::KillProc
"objectdock.exe"
SetOutPath
"$INSTDIR"
File /r
".\Softs\ObjectDock"
CreateDirectory
"$PROFILE\Local Settings\Application Data\Stardock\ObjectDock"
SetOverwrite off
IfFileExists
"$PROFILE\Local Settings\Application
Data\Stardock\ObjectDock\CurrentTheme.ini" +5 0
WriteRegStr
HKCU "Software\WinOSX" "NewDockSettings" "1"
SetOutPath
"$PROFILE\Local Settings\Application Data\Stardock\ObjectDock"
File
"softs\ObjectDock\Themes\*.ini"
;Set correct language
StrCmp $LANGUAGE
${LANG_FRENCH} 0 odexe_replace_en
IfFileExists
"$INSTDIR\ObjectDock\ObjectDockfr.exe" 0 odexe_end
Delete
"$INSTDIR\ObjectDock\ObjectDock.exe"
Rename
"$INSTDIR\ObjectDock\ObjectDockfr.exe"
"$INSTDIR\ObjectDock\ObjectDock.exe"
Goto
odexe_end
odexe_replace_en:
IfFileExists
"$INSTDIR\ObjectDock\ObjectDocken.exe" 0 odexe_end
Delete
"$INSTDIR\ObjectDock\ObjectDock.exe"
Rename
"$INSTDIR\ObjectDock\ObjectDocken.exe"
"$INSTDIR\ObjectDock\ObjectDock.exe"
odexe_end:
Delete
"$INSTDIR\ObjectDock\ObjectDockfr.exe"
Delete
"$INSTDIR\ObjectDock\ObjectDocken.exe"
;Translating Dock Items labels
ReadRegStr $0 HKCU
"Software\WinOSX" "NewDockSettings"
StrCmp $0 "1"
0 no_dock_translation
StrCpy $1
"$PROFILE\Local Settings\Application
Data\Stardock\ObjectDock\CurrentTheme.ini"
WriteINIStr
$1 Item(1-1) Title "$(od_item1)"
WriteINIStr
$1 Item(1-2) Title "$(od_item2)"
WriteINIStr
$1 Item(1-3) Title "$(od_item3)"
WriteINIStr
$1 Item(1-4) Title "$(od_item4)"
WriteINIStr
$1 Item(1-5) Title "$(od_item5)"
WriteINIStr
$1 Item(1-6) Title "$(od_item6)"
WriteINIStr
$1 Item(1-7) Title "$(od_item7)"
WriteINIStr
$1 Item(1-8) Title "$(od_item8)"
WriteINIStr
$1 Item(1-9) Title "$(od_item9)"
WriteINIStr
$1 Item(1-10) Title "$(od_item10)"
WriteINIStr
$1 Item(1-11) Title "$(od_item11)"
WriteINIStr
$1 Item(1-14) Title "$(od_item14)"
no_dock_translation:
DeleteRegValue HKCU
"Software\WinOSX" "NewDockSettings"
;Run
on startup
WriteRegStr HKCU
"Software\Microsoft\Windows\CurrentVersion\Run"
"ObjectDock" "$INSTDIR\ObjectDock\ObjectDock.exe"
;Creating
Shortcuts
CreateDirectory
"$SMPROGRAMS\WinOSX\Dock"
CreateShortCut
"$SMPROGRAMS\WinOSX\Dock\ObjectDock.lnk"
"$INSTDIR\ObjectDock\ObjectDock.exe"
SectionEnd
; ##################
; hsi
; ##################
Section $(Name_HSI) HSI
;Set
Section properties
SetOverwrite ifnewer
SectionIn 1 2
SetOutPath
"$INSTDIR"
File /r
".\Softs\HSI"
SetOutPath "$INSTDIR\HSI"
File
"Divers\Outils\MarginScripts\EnableMargin.exe"
File
"Divers\Outils\MarginScripts\DisableMargin.exe"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run"
"HSIMargin" '$INSTDIR\HSI\HSI.exe
"$INSTDIR\HSI\Margin.hss"'
WriteRegStr HKCR
".hss\DefaultIcon" "" "$INSTDIR\HSI\hsi.exe,0"
WriteRegStr HKCR
".hss\shell\run" "" "$(HSI_Execute_Script)"
WriteRegStr HKCR
".hss\shell\run\command" "" "$INSTDIR\HSI\hsi.exe
%1"
CreateDirectory
"$SMPROGRAMS\WinOSX\$(StartMenu_Margin_Folder)"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(StartMenu_Margin_Refresh).lnk"
"$INSTDIR\HSI\Margin.hss"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(StartMenu_Margin_Activate).lnk"
"$INSTDIR\HSI\EnableMargin.exe"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(StartMenu_Margin_Delete).lnk"
"$INSTDIR\HSI\DisableMargin.exe"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(StartMenu_Margin_Configure).lnk"
"$INSTDIR\HSI\HSI.exe"
SectionEnd
; #####################
; hidetrash
; #####################
Section $(Name_HideTrash) HideTrash
WriteRegDWORD
HKEY_CURRENT_USER
"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"
"{645FF040-5081-101B-9F08-00AA002F954E}" 1
WriteRegDWORD
HKEY_CURRENT_USER
"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu"
"{645FF040-5081-101B-9F08-00AA002F954E}" 1
SectionEnd
SectionGroupEnd
; ######################
; Nexplorer
; ######################
SectionGroup
$(Name_Finder) Finder
Section $(Name_NeXplorer) NeXplorer
SectionIn 1 2
SetOverwrite ifnewer
SetDetailsPrint both
DetailPrint
$(Installing_Finder)
!ifndef PF_DEBUG
SetDetailsPrint
none
!endif
IfFileExists
"$INSTDIR\NeXplorer\NeXplorer.ini" +2 0
WriteRegStr
HKCU "Software\WinOSX" "NewNeXplorerSettings" "1"
SetOutPath
"$INSTDIR"
File /r
".\Softs\NeXplorer"
WriteRegStr HKCU
"Software\NeXplorer" "Install Directory"
"$INSTDIR\NeXplorer\"
WriteRegStr HKCU
"Software\NeXplorer" "Version" "1.9"
CreateDirectory
"$SMPROGRAMS\WinOSX\Finder"
CreateShortCut
"$SMPROGRAMS\WinOSX\Finder\NeXplorer.lnk"
"$INSTDIR\NeXplorer\NeXplorer.exe"
;Set
correct language
StrCmp
$LANGUAGE ${LANG_FRENCH} 0 nexexe_replace_en
IfFileExists
"$INSTDIR\NeXplorer\NeXplorerfr.exe" 0 nexexe_end
Delete
"$INSTDIR\NeXplorer\NeXplorer.exe"
Rename
"$INSTDIR\NeXplorer\NeXplorerfr.exe"
"$INSTDIR\NeXplorer\NeXplorer.exe"
Goto
nexexe_end
nexexe_replace_en:
IfFileExists
"$INSTDIR\NeXplorer\NeXploreren.exe" 0 nexexe_end
Delete
"$INSTDIR\NeXplorer\NeXplorer.exe"
Rename
"$INSTDIR\NeXplorer\NeXploreren.exe"
"$INSTDIR\NeXplorer\NeXplorer.exe"
nexexe_end:
Delete
"$INSTDIR\NeXplorer\NeXplorerfr.exe"
Delete
"$INSTDIR\NeXplorer\NeXploreren.exe"
;
########################
; Edition de
NeXplorer.ini
;
########################
ReadRegStr $0 HKCU
"Software\WinOSX" "NewNeXplorerSettings"
StrCmp $0
"1" 0 no_nexplorer_ini_edit
StrCpy $R1
"$INSTDIR\NeXplorer"
;Traduction du titre des Raccourcis
WriteINIStr "$R1\nexplorer.ini"
"Shortcut0" "Name" "$(nex_item0)"
WriteINIStr "$R1\nexplorer.ini" "Shortcut1"
"Name" "$(nex_item1)"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut3" "Name"
"$(nex_item3)"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut4" "Name"
"$(nex_item4)"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut5" "Name"
"$(nex_item5)"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut6" "Name"
"$(nex_item6)"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut7" "Name"
"$(nex_item7)"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut8" "Name"
"$(nex_item8)"
; Association correcte
des chemins
WriteINIStr
"$R1\nexplorer.ini" "Shortcut4" "Path"
"$MUSIC"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut5" "Path"
"$PROGRAMFILES"
;Association
correcte des PNGs
WriteINIStr
"$R1\nexplorer.ini" "Shortcut0" "Icon"
"$INSTDIR\NeXplorer\PNGs\iMac.png"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut1" "Icon"
"$INSTDIR\NeXplorer\PNGs\iTools.png"
WriteINIStr "$R1\nexplorer.ini"
"Shortcut3" "Icon"
"$INSTDIR\NeXplorer\PNGs\Home.png"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut4" "Icon"
"$INSTDIR\NeXplorer\PNGs\SoundFX.png"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut5" "Icon"
"$INSTDIR\NeXplorer\PNGs\Applications.png"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut6" "Icon"
"$INSTDIR\NeXplorer\PNGs\NetworkSettings.png"
WriteINIStr
"$R1\nexplorer.ini" "Shortcut7" "Icon"
"$INSTDIR\NeXplorer\PNGs\preferences.png"
no_nexplorer_ini_edit:
DeleteRegValue HKCU
"Software\WinOSX" "NewNeXplorerSettings"
SectionEnd
Section $(Name_FinderAsso)
FinderAsso
SectionIn 1 2
SetOverwrite ifnewer
SetOutPath
"$INSTDIR\NeXplorer"
File
".\Divers\outils\AssoNex\AssoNex.exe"
File
".\Divers\outils\AssoNex\UnAssoNex.exe"
WriteRegStr HKCR
"Folder\shell" "" "NeXplorer"
WriteRegStr HKCR
"Folder\shell\NeXplorer\command" ""
"$INSTDIR\NeXplorer\NeXplorer.exe %1"
DeleteRegKey HKCR
"Folder\shell\Associate"
WriteRegStr HKCR
"Folder\shell\UnAssociate" "" "$(nex_unasso_reg)"
WriteRegStr HKCR
"Folder\shell\UnAssociate\command" ""
"$INSTDIR\NeXplorer\UnAssoNex.exe"
CreateDirectory
"$SMPROGRAMS\WinOSX\Finder"
CreateShortCut
"$SMPROGRAMS\WinOSX\Finder\$(nex_asso_short).lnk"
"$INSTDIR\NeXplorer\AssoNex.exe"
CreateShortCut
"$SMPROGRAMS\WinOSX\Finder\$(nex_unasso_short).lnk"
"$INSTDIR\NeXplorer\UnAssoNex.exe"
;# Modification de ObjectDock si install� :
StrCpy $R0 "$PROFILE\Local
Settings\Application Data\Stardock\ObjectDock\CurrentTheme.ini"
IfFileExists $R0 0
mod_objectdock_no
ReadINIStr
$R2 $R0 "Item(1-1)" "Target"
StrCmp $R2
"explorer.exe" 0 mod_objectdock_no
WriteINIStr
$R0 "Item(1-1)" "Target"
"$INSTDIR\NeXplorer\NeXplorer.exe"
mod_objectdock_no:
SectionEnd
SectionGroupEnd
; ###################
; Restore point
; ###################
SectionGroup
$(Name_SysFiles) SysFiles
Section !$(Name_RestorePoint)
RestorePoint
SectionIn 1 2
SetOverwrite ifnewer
SetDetailsPrint both
DetailPrint
$(Creating_Restore_Point)
SetDetailsPrint none
SetOutPath
"$INSTDIR\data\"
File
".\Divers\outils\restorepoint.vbs"
ExecWait
'"$SYSDIR\WScript.exe" "$INSTDIR\data\restorepoint.vbs"'
SectionEnd
;
########################
; Restore (applexp)
; ########################
Section $(Name_WinXP) WinXP
SectionIn 1
#Patch Files
Call
InitializePatching
Call
PatchAndReplaceFiles
Call PatchingCleanup
;Refresh
Icon Cache
!define
RIC_LOCAL_EXECUTABLE_LOCATION "Divers\Outils\RefreshIconCache\RefreshIconCache.exe"
!insertmacro
RefreshIconCache /REBOOT
;Extract
Updater
SetOutPath
"$INSTDIR\data"
File
"files\ResPatcher\Resources Updater.exe"
CreateShortCut
"$INSTDIR\$(Update_WinOSX_Resources_Shortcut).lnk"
"$INSTDIR\data\Resources
Updater.exe"
CreateDirectory
"$SMPROGRAMS\WinOSX"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(Update_WinOSX_Resources_Shortcut).lnk"
"$INSTDIR\data\Resources Updater.exe"
SectionEnd
;
######################################
; Boot Screen (dangerous
dont play here)
;
######################################
Section
$(Name_BootScreen) BootScreen
SectionIn 1 2
SetOverwrite on
SetDetailsPrint both
DetailPrint
$(bootscreen_replacement)
!ifndef PF_DEBUG
SetDetailsPrint
none
!endif
#EXTRACT BOOT.BMP
;Checks
boot.ini existence
IfFileExists
C:\boot.ini +5
SetDetailsPrint
both
DetailPrint
$(boot_ini_doesnt_exists)
SetDetailsPrint
none
Goto ini_end
;Copy
boot.bmp
Rename
"$WINDIR\boot.bmp" "$WINDIR\boot.bmp.WinOSX.bak"
SetOutPath
"$WINDIR"
File
"files\boot.bmp"
#EDIT BOOT.INI
;-------------------------
;Get
line count
Push C:\boot.ini #text
file
Call LineCount
Pop $R0 #boot.ini line count
;-------------------------
;Find
line where boot info starts
StrCpy $1 0
find_line_loop:
IntOp $1 $1 + 1
Push $1 ;line number
to read from
Push
"C:\boot.ini" ;text file to read
Call ReadFileLine
Pop $0 ;output
string (read from file.txt)
StrCmp $0
"[operating systems]$\r$\n" +3
StrCmp $0 ""
+2
Goto find_line_loop
StrCpy $9 $1 ;Start
line
;---------------------------
;Modify
boot file
SetFileAttributes
C:\boot.ini
ini_loop:
IntOp $9 $9 + 1
;ReadLine
Push
$9 ;line number to read from
Push "C:\boot.ini" ;text file to read
Call ReadFileLine
Pop $R1
;output string (read from file.txt)
;If
line contains already /bootlogo, skip line
StrCpy
$R2 ""
Push "$R1"
Push "/noguiboot
/bootlogo"
Call StrStr
Pop $R2
StrCmp $R2 ""
0 ini_loop_increment
;Append
kernel=macboot.exe to line
Pop
$0 ;output string (read from file.txt)
Push "
/noguiboot /bootlogo"
Push $9
Push
"C:\boot.ini"
Call WriteToFileLine
ini_loop_increment:
IntCmp $9 $R0 +2
Goto ini_loop
ini_end:
SetFileAttributes
C:\boot.ini HIDDEN|READONLY|SYSTEM
SetDetailsPrint both
SectionEnd
SectionGroupEnd
;
#######################
; Other
;
#######################
SectionGroup
$(Name_Extras) Extras
SectionGroup $(Name_Logiciels) Logiciels
Section $(Name_Section3) Section3
; Set
Section properties
SetOverwrite ifnewer
SectionIn 1
2
SetDetailsPrint
both
DetailPrint
$(Installing_Softwares)
!ifndef
PF_DEBUG
SetDetailsPrint
none
!endif
; Set
Section Files and Shortcuts
SetOutPath "$INSTDIR"
File /r
".\Softs\YzShadow"
;Set Correct language
StrCpy $0 "$INSTDIR\YzShadow\YzShadow.ini"
StrCmp
$LANGUAGE ${LANG_FRENCH} 0 +2
WriteINIStr
"$0" "GENERAL" "LANGUAGE_FILE"
"French.lang"
;StrCmp $LANGUAGE ${LANG_JAPANESE} 0 +2
;WriteINIStr "$0" "GENERAL"
"LANGUAGE_FILE" "Japanese.lang"
WriteRegStr
HKCU "Software\Microsoft\Windows\CurrentVersion\Run"
"YzShadow" "$INSTDIR\YzShadow\YzShadow.exe"
SectionEnd
; #####################
; Language tools
; #####################
Section $(Name_Section4)
Section4
; Set
Section properties
SetOverwrite ifnewer
SectionIn 1
2
; Set
Section Files and Shortcuts
SetOutPath "$INSTDIR"
File /r
".\Softs\Winroll"
;Set correct language
StrCmp $LANGUAGE ${LANG_FRENCH} 0 winrollexe_replace_en
IfFileExists
"$INSTDIR\WinRoll\WinRollfr.exe" 0 winrollexe_end
Delete
"$INSTDIR\WinRoll\WinRoll.exe"
Rename
"$INSTDIR\WinRoll\WinRollfr.exe" "$INSTDIR\WinRoll\WinRoll.exe"
Goto
winrollexe_end
winrollexe_replace_en:
IfFileExists
"$INSTDIR\WinRoll\WinRollen.exe" 0 winrollexe_end
Delete
"$INSTDIR\WinRoll\WinRoll.exe"
Rename
"$INSTDIR\WinRoll\WinRollen.exe" "$INSTDIR\WinRoll\WinRoll.exe"
winrollexe_end:
Delete
"$INSTDIR\WinRoll\WinRollfr.exe"
Delete
"$INSTDIR\WinRoll\WinRollen.exe"
WriteRegStr
HKCU "Software\Microsoft\Windows\CurrentVersion\Run"
"WinRoll" "$INSTDIR\WinRoll\winroll.exe"
WriteRegDWORD
HKCU "Software\WinRoll" "Configuration" 2147483924
SectionEnd
;
########################
; iColor
folder
;
########################
Section $(Name_iColorFolder)
iColorFolder
; Set
Section properties
SectionIn 1 2
SetOverwrite
lastused
; Check if
iCF was not previously installed ; if yes update skin
ReadRegStr $1 HKLM "Software\iColorFolder"
""
StrCmp $1
"" 0 +3
SetOutPath
"$INSTDIR\iColorFolder"
Goto
+2
SetOutPath
"$1"
File /r
".\Softs\iColorFolder\*.*"
CopyFiles
/SILENT "$OUTDIR\Skins\OSX\iColorFolder.dll" "$OUTDIR"
StrCmp
$LANGUAGE ${LANG_FRENCH} install_fr install_en
install_fr:
DeleteRegKey HKEY_CURRENT_USER "Software\Revenger
inc.\CMenuExtender\Contents\000_Color Label"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}"
"" "CMenuExtender"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}\InprocServer32"
"" "$OUTDIR\CMExt.dll"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}\InprocServer32"
"ThreadingModel" "Apartment"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved" "{ABC70703-32AF-11d4-90C4-D483A70F4825}"
"CMenuExtender"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Revenger inc.\CMenuExtender"
"Version" "1.2.1.2"
WriteRegStr
HKEY_CLASSES_ROOT "Directory\shellex\ContextMenuHandlers"
"CMenuExtender" "{ABC70703-32AF-11d4-90C4-D483A70F4825}"
WriteRegStr HKEY_LOCAL_MACHINE
"SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CMenuExtender"
"" "{ABC70703-32AF-11d4-90C4-D483A70F4825}"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"000_item" "<command>$OUTDIR\iColorFolder.exe</command><caption>Aucune</caption><icon></icon><commandline>-1</commandline><description>Restaure
le Dossier � l'�tat normal</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"001_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,7</icon><caption>Rouge</caption><commandline>0</commandline><description>Colore
le dossier en rouge</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"002_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,8</icon><caption>Orange</caption><commandline>1</commandline><description>Colore
le dossier en orange</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"003_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,9</icon><caption>Jaune</caption><commandline>2</commandline><description>Colore
le dossier en jaune</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"004_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,10</icon><caption>Vert</caption><commandline>3</commandline><description>Colore
le dossier en vert</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"005_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,11</icon><caption>Bleu</caption><commandline>4</commandline><description>Colore
le dossier en bleu</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"006_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,12</icon><caption>Rose</caption><commandline>5</commandline><description>Colore
le dossier en rose</description>"
WriteRegStr HKEY_CURRENT_USER
"Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
"007_item" "<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,13</icon><caption>Gris</caption><commandline>6</commandline><description>Colore
le dossier en gris</description>"
Goto install_end
install_en:
DeleteRegKey
HKEY_CURRENT_USER "Software\Revenger
inc.\CMenuExtender\Contents\000_Couleur"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}"
"" "CMenuExtender"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}\InprocServer32"
"" "$OUTDIR\CMExt.dll"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}\InprocServer32"
"ThreadingModel" "Apartment"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved" "{ABC70703-32AF-11d4-90C4-D483A70F4825}"
"CMenuExtender"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Revenger inc.\CMenuExtender"
"Version" "1.2.1.2"
WriteRegStr
HKEY_CLASSES_ROOT "Directory\shellex\ContextMenuHandlers"
"CMenuExtender" "{ABC70703-32AF-11d4-90C4-D483A70F4825}"
WriteRegStr
HKEY_LOCAL_MACHINE
"SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CMenuExtender"
"" "{ABC70703-32AF-11d4-90C4-D483A70F4825}"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "000_item"
"<command>$OUTDIR\iColorFolder.exe</command><caption>None</caption><icon></icon><commandline>-1</commandline><description>Set
back the Folder to normal attribute</description>"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "001_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,7</icon><caption>Red</caption><commandline>0</commandline><description>Set
Folder to Red</description>"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "002_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,8</icon><caption>
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "003_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,9</icon><caption>Yellow</caption><commandline>2</commandline><description>Set
Folder to Yellow</description>"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "004_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,10</icon><caption>Green</caption><commandline>3</commandline><description>Set
Folder to Green</description>"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "005_item" "<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,11</icon><caption>Blue</caption><commandline>4</commandline><description>Set
Folder to Blue</description>"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "006_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,12</icon><caption>Pink</caption><commandline>5</commandline><description>Set
Folder to Pink</description>"
WriteRegStr
HKEY_CURRENT_USER "Software\Revenger inc.\CMenuExtender\Contents\000_Color
Label" "007_item"
"<command>$OUTDIR\iColorFolder.exe</command><icon>$OUTDIR\iColorFolder.dll,13</icon><caption>Gray</caption><commandline>6</commandline><description>Set
Folder to Gray</description>"
install_end:
SectionEnd
;
*******************
; 3r1c
;
*******************
Section $(Name_3r1c)
3r1c
; Set
Section properties
SetOverwrite ifnewer
SectionIn 1
2
; Set
Section Files and Shortcuts
SetOutPath "$INSTDIR"
File /r
".\softs\3r-1c"
WriteRegStr HKCU
"Software\Microsoft\Windows\CurrentVersion\Run" "3r-1c (Volume
Control)" "$INSTDIR\3r-1c\3r-1c.exe"
SectionEnd
; #####################
; AdressBook
; #####################
Section $(Name_AddressBook)
AddressBook
SectionIn 1 2
SetOverwrite
ifnewer
; Set
Section Files and Shortcuts
SetOutPath "$INSTDIR"
File /r
".\Softs\AddressBook"
WriteRegStr HKEY_LOCAL_MACHINE
"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\addressbook.exe"
"" "$INSTDIR\AddressBook\AddressBook.exe"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\addressbook.exe" "Path" "$INSTDIR\AddressBook"
;Copy and register sysfiles
SetOutPath $SYSDIR
File ".\Divers\outils\VB6FR.DLL"
File
".\Divers\outils\MSCOMCTL.OCX"
Exec 'regsvr32.exe /s
$SYSDIR\VB6FR.DLL'
Exec
'regsvr32.exe /s $SYSDIR\MSCOMCTL.OCX'
;Creating Shortcuts
CreateShortCut
"$SMPROGRAMS\WinOSX\AddressBook.lnk" "$INSTDIR\AddressBook\AddressBook.exe"
; #Modification de ObjectDock si install� :
Push $R0
Push $R1
Push $R2
StrCpy $R0
"$PROFILE\Local Settings\Application
Data\Stardock\ObjectDock\CurrentTheme.ini"
IfFileExists
$R0 0 ab_objectdock_no
ReadINIStr
$R2 $R0 "Item(1-5)" "Target"
StrCmp
"$R2" "wab.exe" 0 ab_objectdock_no
WriteINIStr
$R0 "Item(1-5)" "Target"
"$INSTDIR\AddressBook\AddressBook.exe"
ab_objectdock_no:
SectionEnd
;
#######################
; SysPref clone
; #######################
Section $(Name_Sysprefs)
SysPrefs
SectionIn 1 2
SetOverwrite
ifnewer
; Set
Section Files and Shortcuts
SetOutPath "$INSTDIR"
File /r
".\Softs\SysPrefs"
WriteRegStr HKEY_LOCAL_MACHINE
"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\sysprefs.exe"
"" "$INSTDIR\SysPrefs\sysprefs.exe"
WriteRegStr
HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\sysprefs.exe" "Path" "$INSTDIR\SysPrefs"
;Copy and register sysfiles
SetOverwrite ifnewer
SetOutPath
$SYSDIR
File
".\Divers\outils\VB6FR.DLL"
Exec
'regsvr32.exe /s $SYSDIR\VB6FR.DLL'
#Exec
'regsvr32.exe /s $SYSDIR\comdlg32.ocx'
#R�glage de la langue de sysprefs
StrCpy $0 "$INSTDIR\SysPrefs\config.ini"
IfFileExists
$0 0 sysprefs_end
StrCmp
$LANGUAGE ${LANG_FRENCH} 0 sysprefs_en
Push
"english" #-- text to be replaced within the
" "
Push
"french" #-- replace with anything within the "
"
Push
all #-- replace all
occurrences
Push
all #-- replace all
occurrences
Push
"$0" #-- file
to replace in
Call
AdvReplaceInFile #-- Call the
Function
Goto
sysprefs_end
sysprefs_en:
Push
"french" #-- text to be replaced within the
" "
Push
"english" #-- replace with anything within the "
"
Push
all #-- replace all
occurrences
Push
all #-- replace all
occurrences
Push
"$0" #--
file to replace in
Call
AdvReplaceInFile #-- Call the
Function
sysprefs_end:
; ### Modification de NeXplorer si install� :
Push $R0
Push $R1
Push $R2
ReadRegStr
$R0 HKCU "Software\NeXplorer" "Install Directory"
StrCpy $R1 $R0 -1
; Si NeXplorer existe � l'endroit sp�cifi� dans le registre :
IfFileExists
"$R1\nexplorer.exe" 0 nexplorer_no
ReadINIStr
$R2 "$R1\nexplorer.ini" "Shortcut7" "Path"
StrCmp
"$R2" "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
0 nexplorer_no
WriteINIStr
"$R1\nexplorer.ini" "Shortcut7" "Path"
"$INSTDIR\SysPrefs\sysprefs.exe"
nexplorer_no:
; #Modification de ObjectDock si install� :
Push $R0
Push $R1
Push $R2
StrCpy $R0 "$PROFILE\Local Settings\Application
Data\Stardock\ObjectDock\CurrentTheme.ini"
IfFileExists
$R0 0 objectdock_no
ReadINIStr
$R2 $R0 "Item(1-11)" "Target"
StrCmp
"$R2" "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
0 objectdock_no
WriteINIStr
$R0 "Item(1-11)" "Target"
"$INSTDIR\SysPrefs\sysprefs.exe"
objectdock_no:
SectionEnd
SectionGroupEnd
;
#######################
; Other2
;
#######################
SectionGroup $(Name_Divers) Divers
SectionGroup
$(Name_SysTweak) SysTweak
Section
$(Name_FontSmooth) FontSmooth
SetDetailsPrint
both
DetailPrint
$(Installing_Various)
!ifndef
PF_DEBUG
SetDetailsPrint
none
!endif
SectionIn
1 2
WriteRegDWORD
HKCU "Control Panel\Desktop" "FontSmoothingType" 00000002
WriteRegStr
HKCU "Control Panel\Desktop" "FontSmoothing" "2"
SectionEnd
;
#########################################################
; Icone size (desktop)
really need to be edited (some rant)
;
#########################################################
Section
$(Name_IconSize) IconSize
SectionIn 1
2
WriteRegStr
HKCU "Control Panel\Desktop\WindowMetrics" "Shell Icon
Size" "48"
WriteRegStr
HKCU "Control Panel\Desktop\WindowMetrics" "IconSpacing"
"-1920"
WriteRegStr
HKCU "Control Panel\Desktop\WindowMetrics"
"IconVerticalspacing" "-1770"
WriteRegStr
HKLM "Software\${APPNAME}\Installed" "IconSize"
"1"
SectionEnd
; ####################################
; Regpref (dont play
here, its unless)
;
####################################
Section $(Name_RegSysPrefs) RegSysPrefs
SectionIn
1 2
WriteRegStr
HKLM "SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}"
"" "$(Name_RegSysPrefs)"
SectionEnd
Section $(Name_RegThrobberOff) RegThrobberOff
SectionIn
1 2
WriteRegBin
HKEY_CURRENT_USER "Software\Microsoft\Internet
Explorer\Toolbar\WebBrowser" "ITBarLayout" 0c0000004c000000740000001a0000001000000017000000050000006a0000002600000001000000e0000000e0010000020000002900000044000000040000000900000033000000030000000900000042000000
WriteRegBin
HKEY_CURRENT_USER "Software\Microsoft\Internet
Explorer\Toolbar\ShellBrowser" "ITBarLayout"
0c0000004c000000740000001a0000001000000017000000050000006a0000002600000001000000e00000005600000002000000290000005700000003000000a800000000000000040000000900000055010000
WriteRegBin
HKEY_CURRENT_USER "Software\Microsoft\Internet Explorer\Toolbar\Explorer"
"ITBarLayout"
0c0000004c000000740000001a0000001300000033000000050000006a0000002600000001000000e1000000df0100000400000001000000bd00000002000000200000008d0100000300000009000000b8000000
WriteRegStr
HKLM "Software\${APPNAME}\Installed" "ThrobberOff"
"1"
SectionEnd
Section $(Name_RegMyComputer) RegMyComputer
SectionIn
1 2
WriteRegDWORD
HKCR "CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}"
"SortOrderIndex" 0x54
SectionEnd
Section
$(Name_regNoArrows) RegNoArrows
SectionIn 1 2
WriteRegStr
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons"
"29" "$SYSDIR\shell32.dll,51"
SectionEnd
SectionGroupEnd
; #############################
; Few resource to update (urspick)
; #############################
Section $(Name_UserPics)
UserPics
; Set
Section properties
SectionIn 1 2
SetOverwrite
ifnewer
SetOutPath "C:\Documents and Settings\All
Users\Application Data\Microsoft\User Account Pictures\Default Pictures"
File /r
".\Divers\Images\Utilisateurs\*.*"
SectionEnd
;
###############################
; MsnSkin (7 final)
;
###############################
Section $(Name_MSNskin)
MSNskin
SectionIn 1 2
SetOverwrite
ifnewer
IfFileExists "$PROGRAMFILES\MSN
Messenger\msnmsgr.exe" 0 MSN_end
;Version check
GetDllVersion "$PROGRAMFILES\MSN
Messenger\msnmsgr.exe" $R0 $R1
IntOp $R2
$R0 / 0x00010000
IntOp $R3 $R0 & 0x0000FFFF
IntOp $R4
$R1 / 0x00010000
IntOp $R5 $R1 & 0x0000FFFF
StrCpy $0 "$R2.$R3.$R4.$R5"
StrCmp
"7.0.777.0" $0 0 MSN_end
KillProcDLL::KillProc
"msnmsgr.exe"
Sleep 500
!insertmacro
SimpleUpgradeFile "files\MSNskins\theunknow_MacMSN_7" msnmsgr.exe
"$PROGRAMFILES\MSN Messenger"
MSN_end:
SectionEnd
;
##########################
; Screen Saver (flurry)
;
##########################
Section
$(Name_Screensaver) ScreenSaver
; Set
Section properties
SectionIn 1 2
SetOverwrite ifnewer
; Set
Section Files and Shortcuts
SetOutPath "$SYSDIR\"
File
"files\Flurry.scr"
WriteRegStr
HKCU "Control Panel\Desktop" "SCRNSAVE.EXE"
"$SYSDIR\Flurry.scr"
WriteRegStr
HKLM "Software\${APPNAME}\Installed" "Flurry" "1"
SectionEnd
SectionGroupEnd
SectionGroupEnd
Section -FinishSection
SetDetailsPrint
both
DetailPrint $(Finishing_Install)
!ifndef PF_DEBUG
SetDetailsPrint none
!endif
;
##############################
; Some other parameter
;
##############################
;Various
files
SetOutPath "$INSTDIR\"
File
".\Divers\Documents\Aide\_tmphhp\winosxfr.chm"
File
".\Divers\Documents\Aide\_tmphhp\winosxen.chm"
File
".\Divers\Documents\Historique.txt"
File ".\Divers\Documents\Lisez-Moi.rtf"
File ".\Divers\Documents\Read-Me.rtf"
SetOutPath
"$INSTDIR\data\"
File ".\Divers\images\tiger.ico"
File
".\Divers\images\tigerfolder.ico"
File ".\Divers\images\user.ico"
File ".\Divers\outils\BootManager\WinOSX
BootManager.exe"
SetOutPath "$INSTDIR\data\languages\"
File
".\Divers\outils\BootManager\BMLanguageStrings.nsh"
File /r
".\include\lang\*.*"
;##############################################################################################
;##############################################################################################
;
###############################
; Visual details and
folder icone
;
###############################
;WinOSX
folder icon mod :
;Mod
instdir
!insertmacro
ChangeFolderIcon "$INSTDIR" "$INSTDIR\data\tigerfolder.ico"
"0"
;See if
parent folder is "***\WinOSX", if yes mod parent folder
Push
"$INSTDIR"
Call GetParent
Pop $1
StrCpy $2 $1 6 -6
StrCmp $2 "WinOSX" 0
parent_folder_mod_end
!insertmacro
ChangeFolderIcon "$1" "$INSTDIR\data\tigerfolder.ico"
"0"
parent_folder_mod_end:
;See if
$INSTDIR folder is "%UserName%", if yes mod it with user icon
ReadEnvStr
$0 USERNAME
StrLen $1 "$0"
StrCpy $2 $INSTDIR $1 -$1
StrCmp $2 "$0" 0
folder_mod_end
!insertmacro
ChangeFolderIcon "$INSTDIR" "$INSTDIR\data\user.ico"
"0"
folder_mod_end:
;Registry
Settings
WriteRegStr
HKCU "Software\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
"DisplayName" "Win OS X ${APPVERSION}"
WriteRegStr HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
"UninstallString" "$INSTDIR\$(UnintallWinOSX).exe"
WriteRegStr HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
"DisplayIcon" "$INSTDIR\data\tiger.ico"
WriteRegStr HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
"HelpLink" "$INSTDIR\$(Help_File)"
WriteRegStr HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
"URLUpdateInfo"
"http://lamorine.free.fr/WinOSX/website/download.htm"
WriteUninstaller "$INSTDIR\Uninstall
WinOSX.exe"
CreateDirectory
"$SMPROGRAMS\WinOSX"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(ReadMe_Name).lnk"
"$INSTDIR\$(ReadMe_File)"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(Help_Name).lnk"
"$INSTDIR\$(Help_File)"
CreateShortCut "$SMPROGRAMS\WinOSX\$(Configure_Boot_Elements).lnk"
"$INSTDIR\data\WinOSX BootManager.exe"
CreateShortCut
"$SMPROGRAMS\WinOSX\$(UnintallWinOSX).lnk" "$INSTDIR\Uninstall
WinOSX.exe"
;---------------------
;Patch
uxtheme.dll
;
#################################################################################
;End of the installation : we can patch uxtheme.dll (only at
the end of install to prevent conflicts during installation)
;
#################################################################################
;Check if
"Themes" Section was checked
SectionGetFlags
${Section1} $0
IntOp $0 $0 & 1
IntCmp $0 1 0 endpatch endpatch
;Run
Disable_SFC.exe script for 25sc
SetOutPath
"$INSTDIR\data"
File
"files\ResPatcher\data\Disable_SFC.exe"
Exec "$INSTDIR\data\Disable_SFC.exe
25"
; Find uxtheme.dll
version
GetDllVersion
"$SYSDIR\uxtheme.dll" $R0 $R1
IntOp $R2 $R0 /
0x00010000
IntOp $R3 $R0 &
0x0000FFFF
IntOp $R4 $R1 /
0x00010000
IntOp $R5 $R1 &
0x0000FFFF
StrCpy $0 "$R2.$R3.$R4.$R5"
StrCmp
"6.0.2900.2180" $0 patchsp2
StrCmp
"6.0.2800.1106" $0 patchsp1
StrCmp
"6.0.2600.0" $0 patchsp0 patcherror
patcherror:
MessageBox MB_OK|MB_ICONEXCLAMATION
$(Cannot_find_uxtheme_correct_version) /SD IDOK
Goto
endpatch
patchsp2:
SetOutPath $SYSDIR
!insertmacro
SimpleUpgradeFile "files\uxtheme\SP2" uxtheme.dll "$SYSDIR"
goto endpatch
patchsp1:
SetOutPath $SYSDIR
!insertmacro
SimpleUpgradeFile "files\uxtheme\SP1" uxtheme.dll "$SYSDIR"
goto endpatch
patchsp0:
SetOutPath $SYSDIR
!insertmacro
SimpleUpgradeFile "files\uxtheme\SP0" uxtheme.dll "$SYSDIR"
endpatch:
;-------------
;Patch end
SectionEnd
;
######################################################
; All part of the
previous installer are here (no order)
;
######################################################
; Modern install component descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT
${Section1} $(Desc_Section1)
!insertmacro MUI_DESCRIPTION_TEXT
${Section2} $(Desc_Section2)
!insertmacro MUI_DESCRIPTION_TEXT
${ObjectDock} $(Desc_ObjectDock)
!insertmacro MUI_DESCRIPTION_TEXT
${HSI} $(Desc_HSI)
!insertmacro MUI_DESCRIPTION_TEXT
${HideTrash} $(Desc_HideTrash)
!insertmacro MUI_DESCRIPTION_TEXT
${Finder} $(Desc_Finder)
!insertmacro MUI_DESCRIPTION_TEXT
${NeXplorer} $(Desc_NeXplorer)
!insertmacro MUI_DESCRIPTION_TEXT
${FinderAsso} $(Desc_FinderAsso)
!insertmacro MUI_DESCRIPTION_TEXT
${Section3} $(Desc_Section3)
!insertmacro MUI_DESCRIPTION_TEXT
${Section4} $(Desc_Section4)
!insertmacro MUI_DESCRIPTION_TEXT
${SysFiles} $(Desc_SysFiles)
!insertmacro MUI_DESCRIPTION_TEXT
${WinXP} $(Desc_WinXP)
!insertmacro MUI_DESCRIPTION_TEXT
${SysTweak} $(Desc_SysTweak)
!insertmacro MUI_DESCRIPTION_TEXT
${FontSmooth} $(Desc_FontSmooth)
!insertmacro MUI_DESCRIPTION_TEXT
${IconSize} $(Desc_IconSize)
!insertmacro MUI_DESCRIPTION_TEXT
${ScreenSaver} $(Desc_ScreenSaver)
!insertmacro MUI_DESCRIPTION_TEXT
${iColorFolder} $(Desc_iColorFolder)
!insertmacro MUI_DESCRIPTION_TEXT
${RestorePoint} $(Desc_RestorePoint)
!insertmacro MUI_DESCRIPTION_TEXT
${3r1c} $(Desc_3r1c)
!insertmacro MUI_DESCRIPTION_TEXT
${AddressBook} $(Desc_AddressBook)
!insertmacro MUI_DESCRIPTION_TEXT
${SysPrefs} $(Desc_SysPrefs)
!insertmacro MUI_DESCRIPTION_TEXT
${RegSysPrefs} $(Desc_RegSysPrefs)
!insertmacro MUI_DESCRIPTION_TEXT
${RegMyComputer} $(Desc_RegMyComputer)
!insertmacro MUI_DESCRIPTION_TEXT
${RegThrobberOff} $(Desc_RegThrobberOff)
!insertmacro MUI_DESCRIPTION_TEXT
${RegNoArrows} $(Desc_RegNoArrows)
!insertmacro MUI_DESCRIPTION_TEXT ${UserPics}
$(Desc_UserPics)
!insertmacro MUI_DESCRIPTION_TEXT
${Extras} $(Desc_Extras)
!insertmacro MUI_DESCRIPTION_TEXT
${Logiciels} $(Desc_Logiciels)
!insertmacro MUI_DESCRIPTION_TEXT
${Divers} $(Desc_Divers)
!insertmacro MUI_DESCRIPTION_TEXT
${MSNskin} $(Desc_MSNskin)
!insertmacro MUI_DESCRIPTION_TEXT
${BootScreen} $(Desc_BootScreen)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;<------------------------------------------------------///////////////////////////////////
; On initialization
Function .onInit
;Check OS
version
Call
GetWindowsVersion
Pop $R0
StrCmp $R0 "XP" continue
MessageBox MB_OK|MB_ICONSTOP
$(System_is_not_Windows_XP) /SD IDOK
Abort
continue:
!insertmacro
MUI_LANGDLL_DISPLAY
;Detect
$INSTDIR
ClearErrors
ReadEnvStr $0 USERNAME
IfErrors +4
ReadRegStr $1 HKCU
"Software\${APPNAME}" ""
IfErrors 0 +2
StrCpy $INSTDIR
"$INSTDIR\$0"
ClearErrors
SetRebootFlag true
!ifdef PF_DEBUG
SetAutoClose false
!endif
FunctionEnd
;
#############################################################################################
;
#############################################################################################
; ###############################################################
; Uninstall
;
###############################################################
;#################
;Uninstall section
;#################
;
########################
; Theme
; ########################
SectionGroup "un.$(un.Name_UnThemes)" UnThemes
Section "un.$(un.Name_RemoveThemes)"
RemoveThemes
;Changement de Th�me
si des �l�ments existent toujours
StrCpy $2 0
ReadRegStr $1
HKEY_CURRENT_USER "Software\Microsoft\Windows\CurrentVersion\ThemeManager"
"DllName"
StrCmp $1
"%SystemRoot%\resources\Themes\Tiger\Tiger.msstyles" 0 +2
StrCpy $2 1
ReadRegStr $1
HKEY_CURRENT_USER
"Software\Microsoft\Windows\CurrentVersion\Themes\LastTheme"
"Wallpaper"
StrCmp $1 "$WINDIR\Resources\Themes\Tiger\Wallpapers\Aqua_Blue.jpg"
0 +2
StrCpy $2 1
ReadRegStr $1
HKEY_CURRENT_USER "AppEvents\Schemes\Apps\.Default\Minimize\.Current"
""
StrCmp $1
"%SystemRoot%\Resources\Themes\Iceman's Jaguar\Sounds\Minimize.wav" 0
+2
StrCpy $2 1
StrCmp $2 1 0 +3
Exec
"rundll32.exe shell32.dll,Control_RunDLL desk.cpl
desk,@Themes /Action:OpenTheme
/file:$\"$%WINDIR%\Resources\Themes\Luna.theme$\""
MessageBox
MB_OK "$(Change_Theme_Warning)"
;Effacement
des fichiers
RMDir
/r "$WINDIR\Resources\Themes\Iceman's Jaguar"
Delete /REBOOTOK
"$WINDIR\Resources\Themes\WinOSX.theme"
RMDir /r
"$WINDIR\Resources\Themes\Tiger"
Delete /REBOOTOK
"$WINDIR\Resources\Themes\Tiger\*.*"
RMDir /REBOOTOK
"$WINDIR\Resources\Themes\Tiger"
Delete
"$INSTDIR\data\exectheme.exe"
;Remove
Shortcuts
RMDir
/r "$SMPROGRAMS\WinOSX\Th�me"
SectionEnd
Section
"un.$(un.Name_UnUxTheme)" UnUxtheme
;I
execute disable-sfc.exe now, so the file won't be removed with Common Items
Exec
"$INSTDIR\data\Disable_SFC.exe"
;Un-patching
is located at the end of installation to prevent conflits
SectionEnd
SectionGroupEnd
;
#############################
; Dock
;
#############################
SectionGroup
"un.$(un.Name_UnDock)" UnDock
Section "un.$(un.Name_UnObjectDock)"
UnObjectDock
KillProcDLL::KillProc
"objectdock.exe"
RMDir /r
"$INSTDIR\ObjectDock"
Delete /REBOOTOK
"$INSTDIR\ObjectDock\*.*"
RMDir /REBOOTOK
"$INSTDIR\ObjectDock"
DeleteRegValue HKCU
"Software\Microsoft\Windows\CurrentVersion\Run"
"ObjectDock"
RMDir /r "$SMPROGRAMS\WinOSX\Dock"
SectionEnd
;
#######################
; Dock setting
;
#######################
Section
"un.$(un.Name_UnDockSettings)"
UnDockSettings
Delete
"$PROFILE\Local Settings\Application Data\Stardock\ObjectDock\*.*"
SectionEnd
; #####################
; HSI margin
; #####################
Section
"un.$(un.Name_UnHSI)" UnHSI
KillProcDLL::KillProc
"hsi.exe"
RMDir /r
"$INSTDIR\HSI"
DeleteRegValue HKCU
"Software\Microsoft\Windows\CurrentVersion\Run" "HSIMargin"
SectionEnd
; ###################
; Trash
; ###################
Section
"un.$(un.Name_UnHideTrash)" UnHideTrash
WriteRegDWORD
HKEY_CURRENT_USER "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel"
"{645FF040-5081-101B-9F08-00AA002F954E}" 0
WriteRegDWORD
HKEY_CURRENT_USER
"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu"
"{645FF040-5081-101B-9F08-00AA002F954E}" 0
SectionEnd
SectionGroupEnd
; ######################
; Nexplorer
; ######################
Section
"un.$(un.Name_UnFinder)" UnFinder
KillProcDLL::KillProc
"nexplorer.exe"
Sleep 250
Delete /REBOOTOK
"$INSTDIR\NeXplorer\*.*"
RMDir /r
"$INSTDIR\NeXplorer\"
RMDir /REBOOTOK
"$INSTDIR\NeXplorer"
DeleteRegKey HKCU
"Software\NeXplorer"
WriteRegStr HKCR
"Folder\shell" "" "open"
DeleteRegKey HKCR
"Folder\shell\NeXplorer"
DeleteRegKey HKCR
"Folder\shell\Associate"
DeleteRegKey HKCR "Folder\shell\UnAssociate"
RMDir /r
"$SMPROGRAMS\WinOSX\Finder"
SectionEnd
; ######################
; Systeme Files
; ######################
SectionGroup
"un.$(un.Name_UnSysFiles)" UnSysFiles
Section "un.$(un.Name_UnWinXP)"
UnWinXP
#Patch Files
Call
un.InitializePatching
Call
un.PatchAndReplaceFiles
Call un.PatchingCleanup
!insertmacro
un.RefreshIconCache /REBOOT
SetDetailsPrint
both
SetRebootFlag true
SectionEnd
;
########################
; Boot Screen
; ########################
Section
"un.$(un.Name_UnBootScreen)" UnBootScreen
#"We replace
"/ noguiboot /bootlogo" by an empty string
SetFileAttributes
C:\boot.ini
Push "
/noguiboot /bootlogo" #--
text to be replaced within the "
"
Push "" #-- replace with anything within the "
"
Push all #-- replace all
occurrences
Push all #-- replace all
occurrences
Push C:\boot.ini #--
file to replace in
Call un.AdvReplaceInFile #-- Call the Function
SetFileAttributes
C:\boot.ini HIDDEN|READONLY|SYSTEM
Delete /REBOOTOK
"$WINDIR\boot.bmp"
Rename
"$WINDIR\boot.bmp.WinOSX.bak" "$WINDIR\boot.bmp"
SectionEnd
SectionGroupEnd
; ############################
; Other
; ############################
SectionGroup "un.$(un.Name_UnExtras)" UnExtras
SectionGroup "un.$(un.Name_UnLogiciels)"
UnLogiciels
Section "un.YzShadow" UnYzShadow
KillProcDLL::KillProc
"yzshadow.exe"
Delete /REBOOTOK "$INSTDIR\YzShadow\Languages\*.*"
RMDir
/REBOOTOK "$INSTDIR\YzShadow\Languages\"
Delete
/REBOOTOK "$INSTDIR\YzShadow\*.*"
RMDir
/REBOOTOK "$INSTDIR\YzShadow\"
DeleteRegValue
HKCU "Software\Microsoft\Windows\CurrentVersion\Run"
"YzShadow"
SectionEnd
;
#######################
; Winroll
;
#######################
Section
"un.WinRoll" UnWinRoll
KillProcDLL::KillProc
"winroll.exe"
Delete
/REBOOTOK "$INSTDIR\WinRoll\*.*"
RMDir
/REBOOTOK "$INSTDIR\WinRoll"
DeleteRegValue
HKCU "Software\Microsoft\Windows\CurrentVersion\Run"
"WinRoll"
SectionEnd
;
##########################
; Icolor folder
;
##########################
Section
"un.iColorFolder" UniCF
DeleteRegKey
HKCU "Software\Revenger inc.\CMenuExtender\Contents\000_Couleur"
DeleteRegKey
HKCU "Software\Revenger inc.\CMenuExtender\Contents\000_Color Label"
DeleteRegKey
HKEY_LOCAL_MACHINE "SOFTWARE\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}"
DeleteRegKey
HKEY_LOCAL_MACHINE "SOFTWARE\Revenger inc.\CMenuExtender"
DeleteRegValue
HKEY_CLASSES_ROOT "Directory\shellex\ContextMenuHandlers"
"CMenuExtender"
DeleteRegKey
HKEY_LOCAL_MACHINE
"SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CMenuExtender"
RMDir /r
"$INSTDIR\iColorFolder"
Delete
/REBOOTOK "$INSTDIR\iColorFolder\*.*"
RMDir
/REBOOTOK "$INSTDIR\iColorFolder"
SectionEnd
; #####################
; 3r-ic (volume)
; #####################
Section "un.3r-1c (Volume Control" Un3r1c
KillProcDLL::KillProc "3r-1c.exe"
RMDir /r
"$INSTDIR\3r-1c\skins"
Delete
/REBOOTOK "$INSTDIR\3r-1c\*.*"
RMDir
/REBOOTOK "$INSTDIR\3r-1c"
DeleteRegValue
HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "3r-1c
(Volume Control)"
SectionEnd
; ##########################
; Adress Book
;
##########################
Section
"un.AddressBook" UnAddressBook
KillProcDLL::KillProc
"addressbook.exe"
RMDir /r
"$INSTDIR\AddressBook\help"
Delete
/REBOOTOK "$INSTDIR\AddressBook\*.*"
RMDir /REBOOTOK "$INSTDIR\AddressBook"
Delete
"$SMPROGRAMS\WinOSX\AddressBook.lnk"
SectionEnd
; #######################
; Sys pref
; #######################
Section "un.Pr�f�rences Syst�me" UnSysPrefs
KillProcDLL::KillProc
"sysprefs.exe"
RMDir /r
"$INSTDIR\SysPrefs\lang"
RMDir /r "$INSTDIR\SysPrefs\Skin"
Delete
/REBOOTOK "$INSTDIR\SysPrefs\*.*"
RMDir
/REBOOTOK "$INSTDIR\SysPrefs"
SectionEnd
SectionGroupEnd
;
########################
; Others
;
########################
SectionGroup
"un.$(un.Name_unDivers)" UnDivers
SectionGroup "un.$(un.Name_UnSysTweak)" UnSysTweak
Section
"un.$(un.Name_UnFontSmooth)" UnFontSmooth
WriteRegDWORD
HKCU "Control Panel\Desktop" "FontSmoothingType" 00000000
WriteRegStr
HKCU "Control Panel\Desktop" "FontSmoothing" "0"
SectionEnd
;
#######################
; Icone size
;
#######################
Section "un.$(un.Name_UnIconSize)"
UnIconSize
WriteRegDWORD
HKCU "Control Panel\Desktop\WindowMetrics" "Shell Icon
Size" "32"
WriteRegStr
HKCU "Control Panel\Desktop\WindowMetrics" "IconSpacing"
"-1275"
WriteRegStr
HKCU "Control Panel\Desktop\WindowMetrics"
"IconVerticalspacing" "-1125"
SectionEnd
; #########################
; Reg pref
;
#########################
Section "un.$(un.Name_UnRegSysPrefs)"
UnRegSysPrefs
WriteRegStr HKLM
"SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}"
"" "Panneau de configuration"
SectionEnd
; #######################
; Throbber
;
#######################
Section "un.$(un.Name_UnRegThrobberOff)"
UnRegThrobberOff
WriteRegBin
HKEY_CURRENT_USER "Software\Microsoft\Internet
Explorer\Toolbar\WebBrowser" "ITBarLayout" 0c0000004c00000074000000180000001b0000007400000001000000e0000000a00f00000500000022000000260000000200000021000000a00f00000400000001000000e3010000030000000100000067000000
WriteRegBin
HKEY_CURRENT_USER "Software\Microsoft\Internet
Explorer\Toolbar\ShellBrowser" "ITBarLayout"
0c0000004c00000074000000180000001b0000007400000001000000e0000000a00f00000500000022000000260000000200000021000000a00f0000040000000100000077010000030000000100000035000000
WriteRegBin
HKEY_CURRENT_USER "Software\Microsoft\Internet Explorer\Toolbar\Explorer"
"ITBarLayout"
0c0000004c00000074000000180000001b0000007400000001000000e0000000a00f00000500000022000000260000000200000021000000a00f00000400000001000000a00f0000030000000100000000000000
SectionEnd
;
########################
; Computer reg
;
########################
Section
"un.$(un.Name_UnRegMyComputer)"
UnRegMyComputer
WriteRegDWORD HKCR
"CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}"
"SortOrderIndex" 0x48
SectionEnd
Section
"un.$(un.Name_UnRegNoArrows)" UnRegNoArrows
DeleteRegValue HKLM
"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons"
"29"
SectionEnd
SectionGroupEnd
;
#######################
; Msn Skin
;
#######################
Section
"un.$(un.Name_UnMSNskin)" UnMSNskin
KillProcDLL::KillProc
"msnmsgr.exe"
Sleep 500
GetDllVersion
"$PROGRAMFILES\MSN Messenger\msnmsgr.exe" $R0 $R1
IntOp $R2
$R0 / 0x00010000
IntOp $R3 $R0 & 0x0000FFFF
IntOp $R4
$R1 / 0x00010000
IntOp $R5 $R1 & 0x0000FFFF
StrCpy $0 "$R2.$R3.$R4.$R5"
StrCmp
"7.0.425.0" $0 0 un_MSN_end
!insertmacro
unSimpleUpgradeFile "" "msnmsgr.exe"
"$PROGRAMFILES\MSN Messenger"
un_MSN_end:
SectionEnd
;
############################
; User pick
;
############################
Section
"un.$(un.Name_UnUserPics)" UnUserPics
Delete /REBOOTOK
"C:\Documents and Settings\All Users\Application Data\Microsoft\User
Account Pictures\Default Pictures\*.png"
SectionEnd
;
#######################
; Screen saver
; #######################
Section
"un.$(un.Name_UnScreenSaver)" UnScreenSaver
Delete
"$SYSDIR\Flurry.scr"
SectionEnd
SectionGroupEnd
;
#############################
; Additionnal reg key to
remove
;
#############################
SectionGroupEnd
Section
"Un.$(un.Name_UnCommonItems)" UnCommonItems
;Remove
from registry...
DeleteRegKey HKLM
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
DeleteRegKey HKLM
"SOFTWARE\${APPNAME}"
DeleteRegKey HKCU
"SOFTWARE\${APPNAME}"
; Delete self
Delete
"$INSTDIR\Uninstall WinOSX.exe"
RMDir /r
"$INSTDIR\data\"
Delete /REBOOTOK
"$INSTDIR\data\*.*"
RMDir /REBOOTOK
"$INSTDIR\data"
RMDir /r
"$INSTDIR\languages\"
Delete /REBOOTOK
"$INSTDIR\languages\*.*"
RMDir /REBOOTOK
"$INSTDIR\languages"
Delete /REBOOTOK
"$INSTDIR\*.*"
RMDir /REBOOTOK "$INSTDIR"
RMDir /r
"$SMPROGRAMS\WinOSX"
SectionEnd
Section un.
;Run
Disable_SFC.exe script for 25sc
;Check if
section unUxTheme was checked
SectionGetFlags
${UnUxtheme} $0
IntOp $0 $0 & 1
IntCmp $0 1 0 endunpatch endunpatch
KillProcDLL::KillProc
"Disable_SFC.exe"
Exec
"$INSTDIR\data\Disable_SFC.exe 25"
!insertmacro
unSimpleUpgradeFile "" uxtheme.dll "$SYSDIR"
Delete /REBOOTOK
"$INSTDIR\data\Disable_SFC.exe"
endunpatch:
SectionEnd
;
####################################
; All part of the
uninstaller are here
;
####################################
!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT
${UnThemes} $(un.Desc_UnThemes)
!insertmacro MUI_DESCRIPTION_TEXT
${RemoveThemes} $(un.Desc_RemoveThemes)
!insertmacro MUI_DESCRIPTION_TEXT
${UnUxtheme} $(un.Desc_UnUxTheme)
!insertmacro MUI_DESCRIPTION_TEXT
${UnDock} $(un.Desc_UnDock)
!insertmacro MUI_DESCRIPTION_TEXT
${UnObjectDock} $(un.Desc_UnObjectDock)
!insertmacro MUI_DESCRIPTION_TEXT
${UnHSI} $(un.Desc_UnHSI)
!insertmacro MUI_DESCRIPTION_TEXT
${UnDockSettings} $(un.Desc_UnDockSettings)
!insertmacro MUI_DESCRIPTION_TEXT
${UnHideTrash} $(un.Desc_UnHideTrash)
!insertmacro MUI_DESCRIPTION_TEXT
${UnFinder} $(un.Desc_UnFinder)
!insertmacro MUI_DESCRIPTION_TEXT
${UnYzShadow} $(un.Desc_UnYzShadow)
!insertmacro MUI_DESCRIPTION_TEXT
${UnWinRoll} $(un.Desc_UnWinRoll)
!insertmacro MUI_DESCRIPTION_TEXT
${UnSysFiles} $(un.Desc_UnSysFiles)
!insertmacro MUI_DESCRIPTION_TEXT
${UnWinXP} $(un.Desc_UnWinXP)
!insertmacro MUI_DESCRIPTION_TEXT
${UnSysTweak} $(un.Desc_UnSysTweak)
!insertmacro MUI_DESCRIPTION_TEXT
${UnFontSmooth} $(un.Desc_UnFontSmooth)
!insertmacro MUI_DESCRIPTION_TEXT
${UnIconSize} $(un.Desc_UnIconSize)
!insertmacro MUI_DESCRIPTION_TEXT
${UnScreenSaver} $(un.Desc_UnScreenSaver)
!insertmacro MUI_DESCRIPTION_TEXT
${UniCF} $(un.Desc_UniCF)
!insertmacro MUI_DESCRIPTION_TEXT
${UnCommonItems} $(un.Desc_UnCommonItems)
!insertmacro MUI_DESCRIPTION_TEXT ${Un3r1c}
$(un.Desc_Un3r1c)
!insertmacro MUI_DESCRIPTION_TEXT ${UnAddressBook}
$(un.Desc_UnAddressBook)
!insertmacro MUI_DESCRIPTION_TEXT
${UnSysPrefs} $(un.Desc_UnSysPrefs)
!insertmacro MUI_DESCRIPTION_TEXT
${UnRegSysPrefs} $(un.Desc_UnRegSysPrefs)
!insertmacro MUI_DESCRIPTION_TEXT
${UnRegMyComputer} $(un.Desc_UnRegMyComputer)
!insertmacro MUI_DESCRIPTION_TEXT
${UnRegThrobberOff} $(un.Desc_UnThrobberOff)
!insertmacro MUI_DESCRIPTION_TEXT
${UnRegNoArrows} $(un.Desc_UnRegNoArrows)
!insertmacro MUI_DESCRIPTION_TEXT ${UnUserPics}
$(un.Desc_UnUserPics)
!insertmacro MUI_DESCRIPTION_TEXT
${UnExtras} $(un.Desc_UnExtras)
!insertmacro MUI_DESCRIPTION_TEXT
${UnLogiciels} $(un.Desc_UnLogiciels)
!insertmacro MUI_DESCRIPTION_TEXT
${UnDivers} $(un.Desc_UnDivers)
!insertmacro MUI_DESCRIPTION_TEXT
${UnMSNskin} $(un.Desc_UnMSNskin)
!insertmacro MUI_DESCRIPTION_TEXT ${UnBootScreen}
$(un.Desc_UnBootScreen)
!insertmacro MUI_UNFUNCTION_DESCRIPTION_END
Function
un.onInit
!insertmacro MUI_UNGETLANGUAGE
SetRebootFlag false
FunctionEnd
;eof