Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 19th March 2010, 15:45   #1
arif.ali.syed
Junior Member
 
Join Date: Mar 2010
Posts: 5
Need Help with NSIS script [3 queries]

Hi All,
I have used NSIS Quick Setup Script Generator.exe to generate an NSIS script for me, then later on I have made changes myself . My script is attached

Currently I have three problems, would appreciate if any if you can help me resolve them.

Query 1 : My uninstaller at last shows me a page to "reboot now" , I do not want this page to appear How do i do that ( by now you know ? how much I understand NSIS )


Query 2 :
I think this has been asked many time on this forum, I read them but it did not help me.

I want my uninstaller to remove some files from %Appdata%

so i wrote following lines

Delete /REBOOTOK "$APPDATA\${APP_NAME}\${VERSION_SHORT}\PMW.conf"
Delete /REBOOTOK "$APPDATA\${APP_NAME}\${VERSION_SHORT}\PMW.log"
Delete /REBOOTOK "$APPDATA\${APP_NAME}\${VERSION_SHORT}\PMW_Remebered_Priorities.xml"

but it did not help, files exist even after deleting..

I then also tried to create dir in %Appdata% that also did not succeed.
I then also tried to copy come file in %app data% that also dint work....

Query 3:
I want to detect the presence of VC++ runtime on machine, and I know there are plenty of NSIS solution available out there... but the one that I want that example is not working, you can find it here...

http://forums.winamp.com/showthread.php?t=260449

I am getting compilation error for this, I would appreciate if anyone can help me make this work. ( I have attached this script as well)
Attached Files
File Type: zip PMW 2.0.zip (4.0 KB, 12 views)
arif.ali.syed is offline   Reply With Quote
Old 19th March 2010, 15:58   #2
arif.ali.syed
Junior Member
 
Join Date: Mar 2010
Posts: 5
My Query 1 is solved,

I just had to remove following line

!insertmacro MUI_UNPAGE_FINISH

Thanks
arif.ali.syed is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:33.