HI,

The application I am working with creates quick launch shorctcut while installing. But it creates the shortcut only in adiministrator account(where the application is installed). When i create a new user and check i could not see the quick launch shortcut.

For this I have created active setup and it worked fine but the quick launch shortcut of the user is not getting removed while uninstalling the application.

Is there any way to create the quick launch shortcut for ALL USERS while installing the application itself??

I have tried using C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch, but this will create the shortcut only for the newely created user and for not already existing user.

Can any one please help me in this issue??
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

1
As you said that it is created when you use Active Setup then for Removing why dont you write a VBScript to delete during uninstallation.
Answered 01/03/2011 by: mekaywe
Brown Belt

Please log in to comment
1
Thanks for your reply.

It is getting removed from the administrator account(From where the application is installed and uninstalled) but it is not getting removed from the user.

Can we remove the shortcut without knowing the username of the particular account??
As the shortcut is not located in ALLUSERS profile I think we cannot remove the shortcut without knowing the username of the account even using the script.

If we can do so please let me know how?

Thanks.
Naveen.
Answered 01/03/2011 by: naveen.packager
Green Belt

Please log in to comment
1
traverse through all the User accounts in a machine and remove the shortcut. It can be done using vbscript
Answered 01/03/2011 by: mekaywe
Brown Belt

Please log in to comment
1
Thanks. I will google and find out the script.

But wanted to ask you if there is any way to install the quick launch shortcut for ALLUSERS while installing the application itself without using activesetup?
Answered 01/03/2011 by: naveen.packager
Green Belt

Please log in to comment
1
naveen,

what's the value of the ALLUSERS property? Generally you should look at the 'Directory' column of the Shortcuts table to see what the target directory is. It should be something along the line of ProgramMenuFolder, which you can then look up in the Directory table to resolve the complete path.

Kind regards and Happy New Year,

PJ

EDIT: Sorry, completely overlooked the fact that you were talking about Quick Launch shortcuts, it does seem like the accepted solotion there is to copy the shortcut into each user's profile using scripting.
Answered 01/03/2011 by: pjgeutjens
Red Belt

Please log in to comment
0
ORIGINAL: mekaywe

traverse through all the User accounts in a machine and remove the shortcut. It can be done using vbscript


Hi could you please give the vbscript for this, I have googled for the script but couldn't find.

Thanks in advance.
Answered 01/03/2011 by: naveen.packager
Green Belt

Please log in to comment
0
Got the script. Thanks all for your support
Answered 01/03/2011 by: naveen.packager
Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity