/build/static/layout/Breadcrumb_cap_w.png

Creating allusers shortcuts to folders by scripting

Hi all, first post after lurking for a while .. and I have a question that might be simple for more experienced packagers but I've been struggeling for a while now ..

Quite simply, how do I make shortcuts in the all users profile to folders on C:\ or elsewhere?

To clarify my situation a little, I have repackaged several apps using WPS that have been deployed using AD .. while our users work in a lockdown environment. Some packages are repackaged old software (.. 98 and even 3.11 programs) which have data dirs and so on located on C:\ Now my task is to update some of my packages so that the Start menu entries of these apps also contain links to some of these data folders.

I've tried several ways of getting this to work but none of what I've tried so far has been successful - except one which I don't like - to run a short wisescript under execute deferred with the paths and links hardcoded. I couldn't get wisescript to read the Windows Installer properties I had created. Actually, I'm not even sure if I created them correctly. Which leads to a new question, how do I create or set a property so that it contains any of the paths in my Directory table?

If I could set a property like that correctly, how do I get that value passed to a wisescript running in deferred? As I understand it it must run under deferred because of our lockdown OS configuration.

I found this wise KB article but its only partly helpful.

Or is this really not the best way to do it? Should I rather capture my apps over again and create the folder-links I need before comparing snapshots? Or wouldn't that work?

Any help greatly appreciated.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: jib 19 years ago
Purple Belt
0
Ok, just some more minutes of searching found me the solution:

http://www.wise.com/kbarticle.aspx?articleno=1940

/me crawls back to lurking ..
Posted by: VikingLoki 19 years ago
Second Degree Brown Belt
0
They're in an odd place, so don't feel dumb.

When you are looking at the file structure tree in WPS, instead of finding profiles in "C:\Documents & Settings" yadda yadda yadda, they're under C:\Windows\Profiles\.

Why profiles are there instead of where they end up on a W2K/XP machine is a matter of debate, but that's where they are whenever you are looking at the directory tree in WPS. Don't worry, they end up in the right place.
Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
I think Windows\Profiles exists to allow for redirected profiles.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ