Vista problem
Hello, i am doing following on Vista:
SetOutPath "$INSTDIR\Data"then in Uninstaller:
CreateDirectory "$SMPROGRAMS\App"
CreateShortCut "$SMPROGRAMS\App\${PRODUCT_FULL_NAME}.lnk" "$INSTDIR\Data\App.exe" ""
CreateShortCut "$SMPROGRAMS\App\Uninstall.lnk" "$INSTDIR\uninstall.exe"
RMDir /r "$SMPROGRAMS\App"The problem is:
during installation: $SMPROGRAMS = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\App"
during uninstallation: $SMPROGRAMS = C:\Users\Saurman\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\App
Any workaround?