Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th February 2004, 10:47   #1
krisbg
Junior Member
 
Join Date: Jan 2004
Location: Bulgaria
Posts: 44
Quick launch shortcut missing for a different windows user

Hi there!
I have the following problem: I want to install to all users so I use:
SetShellVarContext all
at the very beginning of my first install and uninstall sections inside which I copy the shortcuts. The problem is that when I install the product under one windows user which has administrator rights, and then I log as another windows user, the quick launch icon is not present (but all other icons are there...).
Any idea why is it happening and how to fix it?

I create the shortcuts with CreateShortCut after I use SetShellVarContext all...
Thanks in advance!
krisbg is offline   Reply With Quote
Old 4th February 2004, 10:52   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
http://forums.winamp.com/showthread....hreadid=120608
Joost Verburg is offline   Reply With Quote
Old 4th February 2004, 11:38   #3
krisbg
Junior Member
 
Join Date: Jan 2004
Location: Bulgaria
Posts: 44
Thanks for your quick reply! By the way, the last two days this forum is loading very slow... Maybe the problem is in my connection, but I don't experience such a problems with other sites...
krisbg is offline   Reply With Quote
Old 4th February 2004, 12:11   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
kichik did some testing.

It really work fine with the 'All Users' setting. Can you give us the value of $QUICKLAUNCH when it it set to all?
Joost Verburg is offline   Reply With Quote
Old 4th February 2004, 12:29   #5
Vytautas
Major Dude
 
Vytautas's Avatar
 
Join Date: May 2003
Location: Victoria, Australia
Posts: 643
Send a message via ICQ to Vytautas
Joost, what kichik meant, I think, was that Quick Launch directory, by default, is "C:\Documents and Settings\My USer Name\Application Data\Microsoft\Internet Explorer\Quick Launch". However this directory does not exist "C:\Documents and Settings\All Users\Application Data\Microsoft\Internet Explorer\Quick Launch" unlike similar directories that do, e.g. Desktop has both variants.

Vytautas
Vytautas is offline   Reply With Quote
Old 4th February 2004, 14:01   #6
krisbg
Junior Member
 
Join Date: Jan 2004
Location: Bulgaria
Posts: 44
I made a test, the value of $QUICKLAUNCH is:
C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch
so it installs a quick launch icon only for the current user, not for all users
krisbg is offline   Reply With Quote
Old 4th February 2004, 14:24   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
The exact same question has already been answered in another thread. Please only post your question once.

There is no quick launch bar for all users. It's per user only.

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 4th February 2004, 14:56   #8
krisbg
Junior Member
 
Join Date: Jan 2004
Location: Bulgaria
Posts: 44
Excuse, me! I will not double my questions anymore!
krisbg is offline   Reply With Quote
Old 5th February 2004, 02:22   #9
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,351
Send a message via ICQ to deguix
I think you can do that, but putting the same shortcut for every user's folder...

To do that, you have to use the registry to get where it have to be put for each user. First, subfolder is equal a user in HKEY_USERS (not subfolders of subfolders), so use the first you detected to find the correct Quick Launch folder. Second, get the folder found and copy the file to there. And do those again until no more users are found in HKEY_USERS.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 5th February 2004, 09:11   #10
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
The user has to be logged on for its key to appear under HKEY_USERS. You can probably call the LoadUserProfile API function to fix this.

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
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