|
![]() |
#1 |
Forum King
Join Date: Aug 2001
Location: Perth, Australia MSN: mcbriar@ii.net Posts: All your posts are belong to me!!!!
Posts: 2,608
|
Create users wa3 install dir the installdir
how do i make the users wa3 install directory be the instdir of the installer?
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Aug 2001
Posts: 83
|
Isn't that probably just stored somewhere in the registry, so you can read the path out with a ReadRegStr command and then set it. You might have to use the .onInit callback to read it before the portion of the installer runs where you normally set the default install directory. Don't know if that helps, may be way off here...rather tired...
![]() |
![]() |
![]() |
![]() |
#3 |
Forum King
Join Date: Aug 2001
Location: Perth, Australia MSN: mcbriar@ii.net Posts: All your posts are belong to me!!!!
Posts: 2,608
|
it is in the registry, kinda, in the windows uninstall bit you know. for me it has "d:/winamp3/uninst-wa3.exe". I'm not sure if you can get just the directory though. i think you can cause when it says it for me using that key it says "d:/winamp3/" which is good, but i cant get it to be the installdir. im not great at nsis so might need a little guidence
![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Hiding in plain sight (mod)
Join Date: Jun 2000
Location: Melbourne, Australia
Posts: 9,910
|
just make your nsis point to $programfiles\winamp3
if its wrong....then the person installing is an idiot ![]() |
![]() |
![]() |
![]() |
#5 |
Forum King
Join Date: Aug 2001
Location: Perth, Australia MSN: mcbriar@ii.net Posts: All your posts are belong to me!!!!
Posts: 2,608
|
You callin me an idiot! mine is in D:\winamp3 cause i have 3 partitions, 1 for xp 1 for 98 and one for programs.
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Dec 2000
Posts: 162
|
Try
...code: |
![]() |
![]() |
![]() |
#7 |
Forum King
Join Date: Aug 2001
Location: Perth, Australia MSN: mcbriar@ii.net Posts: All your posts are belong to me!!!!
Posts: 2,608
|
YOUR A BLOODY CHAMPION MATE!
now for the hard part ![]() ![]() |
![]() |
![]() |
![]() |
#8 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Hi Lactobacillus!
Here is the answer for the hard part: code: This was taken from functions.html from your NSIS dir. |
![]() |
![]() |
![]() |
#9 | |
Hiding in plain sight (mod)
Join Date: Jun 2000
Location: Melbourne, Australia
Posts: 9,910
|
Quote:
lol yeah your an idiot ![]() ![]() |
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|