View Single Post
Old 29th June 2008, 00:59   #15
Major Dude
LoRd_MuldeR's Avatar
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 797
You must use the command WriteUninstaller in an install section to create an uninstaller! Also your installer must contain a section called "uninstaller", which will perform the uninstall. Last but not least using the File command in an uninstaller sections sounds bizarre. Using Delete makes more sens to get an application removed...

Please look at "NSIS\Examples\example2.nsi"

Also use native native commands (File, Delete and so on) as they are provided by NSIS. Using makros is not required and should only be done, if there is a good reason. See the manual at "NSIS\NSIS.chm" for a scripting reference...

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration:
LoRd_MuldeR is offline   Reply With Quote