|
|
#1 |
|
Senior Member
Join Date: Mar 2001
Location: oregon
Posts: 409
|
Variable request and code help
I don't know what i'll do if there isn't another release of NSIS soon i'm just dying to get a new one. No just kinding i could live without, but there is one thing that would nice is to have $WINAMP and $WINAMP3 variables. I would do it my self and add it to the source and create my own but i don't know how to compile all of the source.
What i'm trying to do is convert the installer in my sig for WA3 Iconpack into an NSIS install. I have code here that you can look at code: So you can see how it would help because no matter where they wanted to put the icons i would still have a direct of getting to studio.exe no matter where they have WA3 installed. Not even close to being done with all of the reg keys. But what i was looking for was a way to force the install to the WA3 dir instead of letting the user choose it and mess something up. Or there is always the option of buring it somewhere where they won't know where it went. I would much rather let them know where it is and give them fair warning what will happen if they mess. Oh and "poop" is a temp name of the key so far i still have a long ways to go. And i'm doing this to cut down on the size of the original install made by mc^^^^ any help or sugggestions would be greatly appriciated. Last edited by bballer182; 10th April 2002 at 04:37. |
|
|
|
|
|
#2 |
|
Member
Join Date: Oct 2001
Posts: 71
|
you can try and use the GetWinampInstPath function in the functions.htm file that is included with NSIS but you just have to modify the registry strip to search for
ReadRegStr $0 HKLM \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp3" \ "UninstallString" instead of ReadRegStr $0 HKLM \ "Software\Microsoft\Windows\CurrentVersion\Uninstall\Winamp" \ "UninstallString" |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
and also change the search for winamp.exe into a search for studio.exe as i described in the e-mail I've send to you, since the browser didn't allow me to post anything this morning...
Greetz, Hendri. |
|
|
|
#4 |
|
Guest
Posts: n/a
|
So here's the complete script...
Good luck, hope this answers all questions, greetz, Hendri. |
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2001
Location: oregon
Posts: 409
|
that was stupid of me i should have researched it a little more bofore bothering you guys. But thatnx for the help Smile2Me
BTW i didn't get the e-mail you said you send so i tried to send on to my self and it didn't work and my e-mail address is correct.
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Mar 2001
Location: oregon
Posts: 409
|
OK i'm all done and i have the source here for any one who wants to look.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|