Old 6th February 2006, 16:08   #1
adrix999
Junior Member
 
Join Date: Feb 2006
Posts: 4
Exclamation Help

I have changed the .nsi format to be viewed in windows as text but i don't know how to change it back to application so it can install itself please can sombody help me?
adrix999 is offline   Reply With Quote
Old 6th February 2006, 16:19   #2
jzdexta
Junior Member
 
Join Date: Feb 2006
Posts: 12
You can use the command prompt and use ren or rename commands (ren currentfilename.txt newfilename.nsi) then next time you can use notepad to view without changing the file extensions.
Hope that helps you and its what you asked for
jzdexta is offline   Reply With Quote
Old 6th February 2006, 16:35   #3
adrix999
Junior Member
 
Join Date: Feb 2006
Posts: 4
The file is the same .nsi the problem is that it opens with a text editor(wordpad) not as an application,that is my problem and i don't know how to fix it
adrix999 is offline   Reply With Quote
Old 6th February 2006, 16:45   #4
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
What application you used to work with sripts?
glory_man is offline   Reply With Quote
Old 6th February 2006, 16:52   #5
adrix999
Junior Member
 
Join Date: Feb 2006
Posts: 4
Maybe i didn't make myself clear .nsi is an application if i would press it,it woud install itself but because of an mystake i have change it to open with a text editor and now i cant install the contents what i need is to make it to be an application again or basicly just a way to extract the stuff out of it
adrix999 is offline   Reply With Quote
Old 6th February 2006, 16:58   #6
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
As far as I understood your problem, you want to run application (instalation) pressing nsi-file. But nsi-file is script. This is text file. If you want to create application (executable) you need to compile script -> MakeNSISW (GUI to compile scripts). Start -> Programs -> NSIS -> MakeNSISW. This is simlest way. Also you can use nsi-editors HMNIS, Venis or ElipseNSIS (for Elipse IDE).
glory_man is offline   Reply With Quote
Old 6th February 2006, 17:22   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
If you right click on the .nsi file you should have a Compile NSIS Script menu option.

-Stu
Afrow UK is offline   Reply With Quote
Old 6th February 2006, 17:22   #8
adrix999
Junior Member
 
Join Date: Feb 2006
Posts: 4
So thats why it didn't work the first time i thot i did something wrong the .nsi are the scrips and the installer is something else
Thanks for clearing that up
adrix999 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