new installer.nsi
;original
DefaultDestination:
StrCpy $INSTDIR "\${SHORTNAME}"
in the above case if you run the exe it will setup an $INSTDIR like this:
\MyApp
which does not work by default - you have to "browse" to a folder first. it will install fine from the PortableApps Menu, but you can't just run the EXE from anywhere else without browsing.
;modified
DefaultDestination:
StrCpy $INSTDIR "$exedir\${SHORTNAME}"
in this modified code, it will install correctly under the PA Menu AND you can also run it from any location (without having to browse).
- Read more about new installer.nsi
- Log in or register to post comments