phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
NikNaks I'm noticing a few users are using your Install Script instead of the ones in the OP. Which is fine, but yours hasn't been updated.
Could you change this:
To this:
This will make it so that the installer will wait for the uninstaller to finish. also you may consider adding this part of the icon scripting to it:
This makes the Installer setup have the Mod's Icon instead of using the default Nullsoft installer icon.
Anyway those are the two main improvements in the scripts in the OP, but since your script comes later I think people believe it is a more recent version.
Could you change this:
Code:
;Run the uninstaller
uninst:
ClearErrors
Exec $INSTDIR\Mods\${MOD_LOC}\uninstall.exe
done:
FunctionEnd
Code:
;Run the uninstaller
uninst:
ClearErrors
[B]ExecWait '"$INSTDIR\Mods\${MOD_LOC}\Uninstall.exe" _?=$INSTDIR'[/B]
done:
FunctionEnd
Code:
!define ICON "${MYCLSDIR}\someicon.ico" ;place your icon in your mod folder change someicon to the icon's name
[B]!define MUI_ICON "${ICON}"[/B]
Anyway those are the two main improvements in the scripts in the OP, but since your script comes later I think people believe it is a more recent version.