Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 16th July 2007, 08:38   #1
baskaran.vishnu
Junior Member
 
Join Date: Apr 2006
Posts: 41
GetExeName - Could it work for Un-installer?

Hello Everyone,

I have a query regarding the GetExeName command.

As stated in the NSIS help files (Section E.1.9), the GetExeName returns the Name of the Installer. I am currently using it within Function .onInit and it works perfect by returning the Installer's File Name and path.

However, when the same command is executed in Function un.onInit as un.GetExeName, I would get the temporary path where the Un-installer is located instead of the actual location and name of the Un-installer.

Is there a way that GetExeName could return the name and actual location of the Un-installer?

Are there any alternatives?

Thanks for any advice on this issue.
baskaran.vishnu is offline   Reply With Quote
Old 16th July 2007, 09:47   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
Use the $EXEFILE constant.

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK 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