Author: tyrell
Date: Wed Aug  6 08:18:40 2008
New Revision: 20483
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=20483

Log:
A potential fix for the shortcut uninstallation issue in Vista

Modified:
   
branches/mashup/java/1.5/java/modules/distribution/installer/mashupserver-setup.nsi

Modified: 
branches/mashup/java/1.5/java/modules/distribution/installer/mashupserver-setup.nsi
URL: 
http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/distribution/installer/mashupserver-setup.nsi?rev=20483&r1=20482&r2=20483&view=diff
==============================================================================
--- 
branches/mashup/java/1.5/java/modules/distribution/installer/mashupserver-setup.nsi
 (original)
+++ 
branches/mashup/java/1.5/java/modules/distribution/installer/mashupserver-setup.nsi
 Wed Aug  6 08:18:40 2008
@@ -98,6 +98,8 @@
 SectionEnd
 
 Section -post SEC0001
+    SetShellVarContext all
+
     WriteRegStr HKLM "${REGKEY}" Path $INSTDIR
     SetOutPath $INSTDIR    
     WriteUninstaller $INSTDIR\uninstall.exe
@@ -147,7 +149,9 @@
 !macroend
 
 # Uninstaller sections
-Section /o -un.Main UNSEC0000    
+Section /o -un.Main UNSEC0000
+    SetShellVarContext all
+
     # Showing a warning about script folder deletion
     MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "The '$INSTDIR\scripts' folder, 
which contains your Mashups \
        will be deleted during uninstallation. If you would like to back up the 
folder contents, \
@@ -175,6 +179,8 @@
 SectionEnd
 
 Section -un.post UNSEC0001
+    SetShellVarContext all
+    
     DeleteRegKey HKLM 
"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)"
     Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^UninstallLink).lnk"
     Delete /REBOOTOK $INSTDIR\uninstall.exe

_______________________________________________
Mashup-dev mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to