Old 1st October 2007, 08:16   #1
rear_laura
Junior Member
 
Join Date: Mar 2007
Posts: 5
Problems (and I have NO MORE TIME)

I've created and application that runs off-line (of course) and I'm having problems with nsis...:

-When I try installing the application on other location than predefined, uninstallation doesn't delete shorcuts from start menu. On Vista, uninstalling process works fine untill it starts deleting start menu and shortcuts... uninstalling stops without deleting them! Again, it only happens when installing the app on other location than predefined.

-I create a link (url) on start menu that just don't work on Vista. I mean, you can click on it but it does nothing...


Any idea?
rear_laura is offline   Reply With Quote
Old 1st October 2007, 09:03   #2
rear_laura
Junior Member
 
Join Date: Mar 2007
Posts: 5
And a new one....

How can I prevent users form installing the program in other location than predefined? I want to deshabilitate this option.
rear_laura is offline   Reply With Quote
Old 1st October 2007, 09:17   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
just remove the directory page then

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 1st October 2007, 09:19   #4
rear_laura
Junior Member
 
Join Date: Mar 2007
Posts: 5
But I want just to deshabilitate not no delete.. I don't want users to change the directory..
rear_laura is offline   Reply With Quote
Old 1st October 2007, 13:16   #5
thek
Member
 
thek's Avatar
 
Join Date: Jun 2006
Location: Austria
Posts: 92
It looks like you don't create the links proberly
mayby you have a hardcoded link for it.
it should look something like
code:
CreateShortcut "$SMPROGRAMS\$R0\myProductName.lnk" $INSTDIR\MyProgramm.exe ""


in R0 there is a userselected Name for the Productfolder (this can be hardcoded if you don't want it to change)

To help you further/better we probably need the code of your script!
thek is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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