aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/installers/windows/installer_template.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/installers/windows/installer_template.nsi')
-rw-r--r--linden/indra/newview/installers/windows/installer_template.nsi104
1 files changed, 52 insertions, 52 deletions
diff --git a/linden/indra/newview/installers/windows/installer_template.nsi b/linden/indra/newview/installers/windows/installer_template.nsi
index 8afde89..597b85b 100644
--- a/linden/indra/newview/installers/windows/installer_template.nsi
+++ b/linden/indra/newview/installers/windows/installer_template.nsi
@@ -62,7 +62,7 @@ SetOverwrite on ; stomp files by default
62AutoCloseWindow true ; after all files install, close window 62AutoCloseWindow true ; after all files install, close window
63 63
64InstallDir "$PROGRAMFILES\${INSTNAME}" 64InstallDir "$PROGRAMFILES\${INSTNAME}"
65InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "" 65InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\${INSTNAME}" ""
66!ifdef UPDATE 66!ifdef UPDATE
67DirText $(DirectoryChooseTitle) $(DirectoryChooseUpdate) 67DirText $(DirectoryChooseTitle) $(DirectoryChooseUpdate)
68!else 68!else
@@ -88,7 +88,7 @@ Var INSTSHORTCUT
88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
89Function PostInstallExe 89Function PostInstallExe
90push $0 90push $0
91 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "PostInstallExe" 91 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "PostInstallExe"
92 ;MessageBox MB_OK '$0' 92 ;MessageBox MB_OK '$0'
93 ExecWait '$0' 93 ExecWait '$0'
94pop $0 94pop $0
@@ -108,19 +108,19 @@ push $R0
108 StrCpy $INSTPROG "$R0" 108 StrCpy $INSTPROG "$R0"
109 StrCpy $INSTEXE "$R0.exe" 109 StrCpy $INSTEXE "$R0.exe"
110 110
111 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" 111 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" ""
112 ; If key doesn't exist, skip install 112 ; If key doesn't exist, skip install
113 IfErrors ABORT 113 IfErrors ABORT
114 StrCpy $INSTDIR "$0" 114 StrCpy $INSTDIR "$0"
115 115
116 ; We now have a directory to install to. Get the startup parameters and shortcut as well. 116 ; We now have a directory to install to. Get the startup parameters and shortcut as well.
117 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" 117 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Flags"
118 IfErrors +2 118 IfErrors +2
119 StrCpy $INSTFLAGS "$0" 119 StrCpy $INSTFLAGS "$0"
120 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" 120 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Shortcut"
121 IfErrors +2 121 IfErrors +2
122 StrCpy $INSTSHORTCUT "$0" 122 StrCpy $INSTSHORTCUT "$0"
123 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" 123 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Exe"
124 IfErrors +2 124 IfErrors +2
125 StrCpy $INSTEXE "$0" 125 StrCpy $INSTEXE "$0"
126 Goto FINISHED 126 Goto FINISHED
@@ -148,19 +148,19 @@ push $R0
148 StrCpy $INSTPROG "$R0" 148 StrCpy $INSTPROG "$R0"
149 StrCpy $INSTEXE "$R0.exe" 149 StrCpy $INSTEXE "$R0.exe"
150 150
151 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" 151 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" ""
152 ; If key doesn't exist, skip install 152 ; If key doesn't exist, skip install
153 IfErrors ABORT 153 IfErrors ABORT
154 StrCpy $INSTDIR "$0" 154 StrCpy $INSTDIR "$0"
155 155
156 ; We now have a directory to install to. Get the startup parameters and shortcut as well. 156 ; We now have a directory to install to. Get the startup parameters and shortcut as well.
157 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" 157 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Flags"
158 IfErrors +2 158 IfErrors +2
159 StrCpy $INSTFLAGS "$0" 159 StrCpy $INSTFLAGS "$0"
160 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" 160 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Shortcut"
161 IfErrors +2 161 IfErrors +2
162 StrCpy $INSTSHORTCUT "$0" 162 StrCpy $INSTSHORTCUT "$0"
163 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" 163 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Exe"
164 IfErrors +2 164 IfErrors +2
165 StrCpy $INSTEXE "$0" 165 StrCpy $INSTEXE "$0"
166 Goto FINISHED 166 Goto FINISHED
@@ -195,15 +195,15 @@ Function RemoveNSIS
195 Push $0 195 Push $0
196 ; Grab the installation directory of the old version 196 ; Grab the installation directory of the old version
197 DetailPrint $(RemoveOldNSISVersion) 197 DetailPrint $(RemoveOldNSISVersion)
198 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" 198 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" ""
199 199
200 ; If key doesn't exist, skip uninstall 200 ; If key doesn't exist, skip uninstall
201 IfErrors NO_NSIS 201 IfErrors NO_NSIS
202 202
203 ; Clean up legacy beta shortcuts 203 ; Clean up legacy beta shortcuts
204 Delete "$SMPROGRAMS\Second Life Beta.lnk" 204 Delete "$SMPROGRAMS\meta-impy Beta.lnk"
205 Delete "$DESKTOP\Second Life Beta.lnk" 205 Delete "$DESKTOP\meta-impy Beta.lnk"
206 Delete "$SMPROGRAMS\Second Life.lnk" 206 Delete "$SMPROGRAMS\meta-impy.lnk"
207 207
208 ; Clean up old newview.exe file 208 ; Clean up old newview.exe file
209 Delete "$INSTDIR\newview.exe" 209 Delete "$INSTDIR\newview.exe"
@@ -271,7 +271,7 @@ FunctionEnd
271;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 271;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
272Function CheckIfAlreadyCurrent 272Function CheckIfAlreadyCurrent
273 Push $0 273 Push $0
274 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" 274 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Version"
275 StrCmp $0 ${VERSION_LONG} 0 DONE 275 StrCmp $0 ${VERSION_LONG} 0 DONE
276 MessageBox MB_OKCANCEL $(CheckIfCurrentMB) /SD IDOK IDOK DONE 276 MessageBox MB_OKCANCEL $(CheckIfCurrentMB) /SD IDOK IDOK DONE
277 Quit 277 Quit
@@ -287,7 +287,7 @@ FunctionEnd
287;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 287;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
288Function CloseSecondLife 288Function CloseSecondLife
289 Push $0 289 Push $0
290 FindWindow $0 "Imprudence" "" 290 FindWindow $0 "meta-impy" ""
291 IntCmp $0 0 DONE 291 IntCmp $0 0 DONE
292 MessageBox MB_OKCANCEL $(CloseSecondLifeInstMB) IDOK CLOSE IDCANCEL CANCEL_INSTALL 292 MessageBox MB_OKCANCEL $(CloseSecondLifeInstMB) IDOK CLOSE IDCANCEL CANCEL_INSTALL
293 293
@@ -299,7 +299,7 @@ Function CloseSecondLife
299 SendMessage $0 16 0 0 299 SendMessage $0 16 0 0
300 300
301 LOOP: 301 LOOP:
302 FindWindow $0 "Imprudence" "" 302 FindWindow $0 "meta-impy" ""
303 IntCmp $0 0 DONE 303 IntCmp $0 0 DONE
304 Sleep 500 304 Sleep 500
305 Goto LOOP 305 Goto LOOP
@@ -344,12 +344,12 @@ FunctionEnd
344; FunctionEnd 344; FunctionEnd
345 345
346;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 346;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
347; Delete files in Documents and Settings\<user>\Imprudence\cache 347; Delete files in Documents and Settings\<user>\meta-impy\cache
348; Delete files in Documents and Settings\All Users\Imprudence\cache 348; Delete files in Documents and Settings\All Users\meta-impy\cache
349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 349;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
350;Function RemoveCacheFiles 350;Function RemoveCacheFiles
351; 351;
352;; Delete files in Documents and Settings\<user>\Imprudence 352;; Delete files in Documents and Settings\<user>\meta-impy
353;Push $0 353;Push $0
354;Push $1 354;Push $1
355;Push $2 355;Push $2
@@ -368,7 +368,7 @@ FunctionEnd
368; ExpandEnvStrings $2 $2 368; ExpandEnvStrings $2 $2
369; 369;
370; ; When explicitly uninstalling, everything goes away 370; ; When explicitly uninstalling, everything goes away
371; RMDir /r "$2\Application Data\Imprudence\cache" 371; RMDir /r "$2\Application Data\meta-impy\cache"
372; 372;
373; CONTINUE: 373; CONTINUE:
374; IntOp $0 $0 + 1 374; IntOp $0 $0 + 1
@@ -378,17 +378,17 @@ FunctionEnd
378;Pop $1 378;Pop $1
379;Pop $0 379;Pop $0
380; 380;
381;; Delete files in Documents and Settings\All Users\Imprudence 381;; Delete files in Documents and Settings\All Users\meta-impy
382;Push $0 382;Push $0
383; ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" 383; ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData"
384; StrCmp $0 "" +2 384; StrCmp $0 "" +2
385; RMDir /r "$0\Imprudence\cache" 385; RMDir /r "$0\meta-impy\cache"
386;Pop $0 386;Pop $0
387; 387;
388;; Delete filse in C:\Windows\Application Data\Imprudence 388;; Delete filse in C:\Windows\Application Data\meta-impy
389;; If the user is running on a pre-NT system, Application Data lives here instead of 389;; If the user is running on a pre-NT system, Application Data lives here instead of
390;; in Documents and Settings. 390;; in Documents and Settings.
391;RMDir /r "$WINDIR\Application Data\Imprudence\cache" 391;RMDir /r "$WINDIR\Application Data\meta-impy\cache"
392; 392;
393;FunctionEnd 393;FunctionEnd
394 394
@@ -438,12 +438,12 @@ FunctionEnd
438 438
439 439
440;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 440;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
441; Delete files in Documents and Settings\<user>\Imprudence 441; Delete files in Documents and Settings\<user>\meta-impy
442; Delete files in Documents and Settings\All Users\Imprudence 442; Delete files in Documents and Settings\All Users\meta-impy
443;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 443;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
444Function un.DocumentsAndSettingsFolder 444Function un.DocumentsAndSettingsFolder
445 445
446; Delete files in Documents and Settings\<user>\Imprudence 446; Delete files in Documents and Settings\<user>\meta-impy
447Push $0 447Push $0
448Push $1 448Push $1
449Push $2 449Push $2
@@ -466,13 +466,13 @@ Push $2
466 ; Otherwise (preview/dmz etc) just remove cache 466 ; Otherwise (preview/dmz etc) just remove cache
467 StrCmp $INSTFLAGS "" RM_ALL RM_CACHE 467 StrCmp $INSTFLAGS "" RM_ALL RM_CACHE
468 RM_ALL: 468 RM_ALL:
469 RMDir /r "$2\Application Data\Imprudence" 469 RMDir /r "$2\Application Data\meta-impy"
470 RM_CACHE: 470 RM_CACHE:
471 # Local Settings directory is the cache, there is no "cache" subdir 471 # Local Settings directory is the cache, there is no "cache" subdir
472 RMDir /r "$2\Local Settings\Application Data\Imprudence" 472 RMDir /r "$2\Local Settings\Application Data\meta-impy"
473 # Vista version of the same 473 # Vista version of the same
474 RMDir /r "$2\AppData\Local\Imprudence" 474 RMDir /r "$2\AppData\Local\meta-impy"
475 Delete "$2\Application Data\Imprudence\user_settings\settings_windlight.xml" 475 Delete "$2\Application Data\meta-impy\user_settings\settings_windlight.xml"
476 476
477 CONTINUE: 477 CONTINUE:
478 IntOp $0 $0 + 1 478 IntOp $0 $0 + 1
@@ -483,17 +483,17 @@ Pop $2
483Pop $1 483Pop $1
484Pop $0 484Pop $0
485 485
486; Delete files in Documents and Settings\All Users\Imprudence 486; Delete files in Documents and Settings\All Users\meta-impy
487Push $0 487Push $0
488 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData" 488 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" "Common AppData"
489 StrCmp $0 "" +2 489 StrCmp $0 "" +2
490 RMDir /r "$0\Imprudence" 490 RMDir /r "$0\meta-impy"
491Pop $0 491Pop $0
492 492
493; Delete filse in C:\Windows\Application Data\Imprudence 493; Delete filse in C:\Windows\Application Data\meta-impy
494; If the user is running on a pre-NT system, Application Data lives here instead of 494; If the user is running on a pre-NT system, Application Data lives here instead of
495; in Documents and Settings. 495; in Documents and Settings.
496RMDir /r "$WINDIR\Application Data\Imprudence" 496RMDir /r "$WINDIR\Application Data\meta-impy"
497 497
498FunctionEnd 498FunctionEnd
499 499
@@ -503,7 +503,7 @@ FunctionEnd
503;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 503;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
504Function un.CloseSecondLife 504Function un.CloseSecondLife
505 Push $0 505 Push $0
506 FindWindow $0 "Imprudence" "" 506 FindWindow $0 "meta-impy" ""
507 IntCmp $0 0 DONE 507 IntCmp $0 0 DONE
508 MessageBox MB_OKCANCEL $(CloseSecondLifeUnInstMB) IDOK CLOSE IDCANCEL CANCEL_UNINSTALL 508 MessageBox MB_OKCANCEL $(CloseSecondLifeUnInstMB) IDOK CLOSE IDCANCEL CANCEL_UNINSTALL
509 509
@@ -515,7 +515,7 @@ Function un.CloseSecondLife
515 SendMessage $0 16 0 0 515 SendMessage $0 16 0 0
516 516
517 LOOP: 517 LOOP:
518 FindWindow $0 "Imprudence" "" 518 FindWindow $0 "meta-impy" ""
519 IntCmp $0 0 DONE 519 IntCmp $0 0 DONE
520 Sleep 500 520 Sleep 500
521 Goto LOOP 521 Goto LOOP
@@ -533,10 +533,10 @@ FunctionEnd
533; 533;
534Function un.RemovePassword 534Function un.RemovePassword
535 535
536DetailPrint "Removing Second Life password" 536DetailPrint "Removing meta-impy password"
537 537
538SetShellVarContext current 538SetShellVarContext current
539Delete "$APPDATA\Imprudence\user_settings\password.dat" 539Delete "$APPDATA\meta-impy\user_settings\password.dat"
540SetShellVarContext all 540SetShellVarContext all
541 541
542FunctionEnd 542FunctionEnd
@@ -621,9 +621,9 @@ SetShellVarContext all
621Call un.CloseSecondLife 621Call un.CloseSecondLife
622 622
623; Clean up registry keys (these should all be !defines somewhere) 623; Clean up registry keys (these should all be !defines somewhere)
624DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" 624DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG"
625DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" 625DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG"
626DeleteRegKey HKEY_LOCAL_MACHINE "Software\Linden Research, Inc.\Installer Language" 626DeleteRegKey HKEY_LOCAL_MACHINE "Software\meta-impy\Installer Language"
627 627
628; Clean up shortcuts 628; Clean up shortcuts
629Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*" 629Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*"
@@ -758,11 +758,11 @@ SectionEnd ; end of uninstall section
758!macroend 758!macroend
759 759
760Function GetProgramName 760Function GetProgramName
761 !insertmacro GetParameterValue "/P=" "Imprudence" 761 !insertmacro GetParameterValue "/P=" "meta-impy"
762FunctionEnd 762FunctionEnd
763 763
764Function un.GetProgramName 764Function un.GetProgramName
765 !insertmacro GetParameterValue "/P=" "Imprudence" 765 !insertmacro GetParameterValue "/P=" "meta-impy"
766FunctionEnd 766FunctionEnd
767 767
768;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 768;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -863,7 +863,7 @@ FunctionEnd
863Function .onInit 863Function .onInit
864 864
865 ; read the language from registry (ok if not there) and set langauge menu 865 ; read the language from registry (ok if not there) and set langauge menu
866 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" 866 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\${INSTNAME}" "InstallerLanguage"
867 StrCpy $LANGUAGE $0 867 StrCpy $LANGUAGE $0
868 868
869 Push "" 869 Push ""
@@ -882,14 +882,14 @@ Function .onInit
882 Abort 882 Abort
883 883
884 ; save language in registry 884 ; save language in registry
885 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" $LANGUAGE 885 WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\${INSTNAME}" "InstallerLanguage" $LANGUAGE
886FunctionEnd 886FunctionEnd
887 887
888;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 888;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
889Function un.onInit 889Function un.onInit
890 890
891 ; read language from registry and set for ininstaller 891 ; read language from registry and set for ininstaller
892 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\${INSTNAME}" "InstallerLanguage" 892 ReadRegStr $0 HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\${INSTNAME}" "InstallerLanguage"
893 StrCpy $LANGUAGE $0 893 StrCpy $LANGUAGE $0
894 894
895FunctionEnd 895FunctionEnd
@@ -992,11 +992,11 @@ CreateShortCut "$INSTDIR\$INSTSHORTCUT Museum Spanish.lnk" "$INSTDIR\$INSTEXE" "
992 992
993;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 993;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
994; Write registry 994; Write registry
995WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" "$INSTDIR" 995WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "" "$INSTDIR"
996WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" "${VERSION_LONG}" 996WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Version" "${VERSION_LONG}"
997WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Flags" "$INSTFLAGS" 997WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Flags" "$INSTFLAGS"
998WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Shortcut" "$INSTSHORTCUT" 998WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Shortcut" "$INSTSHORTCUT"
999WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Exe" "$INSTEXE" 999WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\meta-impy\$INSTPROG" "Exe" "$INSTEXE"
1000WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "DisplayName" "$INSTPROG (remove only)" 1000WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "DisplayName" "$INSTPROG (remove only)"
1001WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "UninstallString" '"$INSTDIR\uninst.exe" /P="$INSTPROG"' 1001WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\$INSTPROG" "UninstallString" '"$INSTDIR\uninst.exe" /P="$INSTPROG"'
1002 1002