Old 15th August 2003, 12:38   #1
dakkor
Junior Member
 
Join Date: Aug 2003
Posts: 2
Waiting for uninstall & Linux

Two completely different topics, but oh well

1) Is there any (easyish) way to have a NSIS install wait for another NSIS uninstall to finish. If the user wants to install and an old version is detected, it'd be neat (I think) to be able to uninstall the old one then continue with the new one. But execwait doesn't work as the installer spawns off another temporary process that does all the work.

2) Anyone tried porting nsismake (console mode obviously) to Linux? Thinking about having the ability to package up a set of plugins with the default install, and have the user just download it prepackaged from my site. Only trouble (not in the general sense) is that my webhost is running Linux ... From a quick glance through the source code it doesn't look tooooooo win32 specific (though I may be looking in the wrong spots).
dakkor is offline   Reply With Quote
Old 15th August 2003, 12:48   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
1) The FAQ contains the answer:

http://nsis.sourceforge.net/site/ind...&tx_faq_faq=14

2) NSIS 1.98 shouldn't be too hard to port, and I have already seen someone do it (Miranda IM used to do this). NSIS 2 is a different story. It uses some Win32 specific functions that I am unsure how to port to Linux (mainly Unicode).

The easy solution is simply using Wine.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 15th August 2003, 13:18   #3
dakkor
Junior Member
 
Join Date: Aug 2003
Posts: 2
Oops on number 1, not sure how I missed that

Regarding #2, unfortunately wine is not going to be installed (I had a "discussion" with the admin about this), so the only option is a port of NSIS 2 (since I use NSIS 2 specific stuff). Since it doesn't look to bad (judging from the imports it uses), I'll give it a bit of a go over the next week or so and see how close I can get to making it compile.

Thanks for the fast reply!
dakkor is offline   Reply With Quote
Old 16th August 2003, 12:43   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Good luck. If you get it to work submit a patch at SourceForge and we might include it in the next release.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 17th August 2003, 13:57   #5
Andrew Francis
Junior Member
 
Join Date: Feb 2003
Location: Perth, Western Australia
Posts: 8
Look like this guy did it at some point, probably with nsis 1.x:

http://forums.winamp.com/showthread....highlight=unix

I'm very interested in anything you come up with

Last edited by Andrew Francis; 17th August 2003 at 14:48.
Andrew Francis 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