Archive: 2 Problems. Need Help


2 Problems. Need Help
1.
uninst.exe is not being written. It errors out.
2.
My URL does not "launch" I get an error from Windows.

Attached is script.
I am just missing something.


1. The directory $PROGRAMFILES\${MUI_PRODUCT} probably doesn't exist. Output the uninstaller to $INSTDIR or create that directory using CreateDirectory or SetOutPath.

2. Use:
WriteINIStr "$SMPROGRAMS\NSIS\NSIS Development Site.url" "InternetShortcut" "URL" "http://nsis.sourceforge.net/"
To write URL shortcuts. It works better, faster and on all Windows versions.


Ok.
The default "suggested" Program Files\ folder is ${MUI_PRODUCT}.
How do I carry the user-defined (if they choose) variable to the Create Directory command?


$INSTDIR is the directory selected by the user.


Got it. Thanks!!