3 Issues..Help Plz
Hi All,
I have just started working on NULLSoft installer. I need some help on following 3 issues :
1. Detection of OS. Using Nullsoft script, how can I detect OS of the target machine. Say, I have to install my application, only on Win ME , 2000 ,XP and above. How can I do that. Any links ?
2. Repair the software. Can we repair the software, after it has been installed ? Say after installation, some program files, get deleted. Then in that case, is it possible to repair the software through Add Remove Programs Panel ? Did anybody implement this functionality before ?
3. While unisntalling, I am not able to delete Shortcut made in $SMPPROGRAMS. I created the shortcut using following code :
CreateDirectory "$SMPROGRAMS\My Company"
CreateShortCut "$SMPROGRAMS\My Company\My Program.lnk" "$INSTDIR\My Program.exe" \ "some command line parameters" "$INSTDIR\My Program.exe" 2 SW_SHOWNORMAL \ ALT|CTRL|SHIFT|F5 "a description"
Now in uninstalling section, in the end I am writing
RMDir /r "$SMPROGRAMS\My Company"
But this is not working ? Any help ?
Thanks and best regards,
Sunil.
Reply here or Mail me at : hi_khatri12@yahoo.com