/build/static/layout/Breadcrumb_cap_w.png

Shortcut Issue.

Scenario:


My application Places a shortcut in ALLUSERS Start menu.
When a logged in user launches this shortcut , a new shortcut gets downloaded to same location with same name (in this user profile).

e.g.
My MSI will place the shortcut C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Companyname\Company.lnk

After launching the above shortcut we will have new shortcut on following path:

C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Companyname\Company.lnk

Problem :
The newer downloaded is not pointing to correct path.

Solution Tried:

case1:

Install the MSI
launch the shortcut through script.
wait for time till other shortcut is downloaded to user profile.
delete the shortcut from user profile.

Issue with this case : the application is launched , couldn't made it launch silently.


Case 2:

Placed shortcut in Desktop.

Issue : what if user try to launch the shortcut from
C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Companyname\Company.lnk.



Note: shortcut contain following command:

java -args "servername"

Any suggestion would be appreciated :)

0 Comments   [ + ] Show comments

Answers (7)

Posted by: mahendraKumar 12 years ago
Senior Yellow Belt
0
i have few more questions...

Is the shortcut getting created all time??( every time when you launch the application).

if shortcut getting created once per user during the first launch ... u can try to check with installrite or picture taker to find if any keys or configuration added to current user...
and add them to the package...


Is shortcut exe has some arguments ...
if any argument to the target exe.. check what happens when it is removed...
Posted by: rock_star 12 years ago
4th Degree Black Belt
0
Here are answers:
- No only first time after we launch the shortcut.

- I have tried and the information that gets downloaded is user specific and it varies so it can't be included in the package.

-yes as mentioned in the first post
java -servername "servername"
Posted by: anonymous_9363 12 years ago
Red Belt
0
Clear the 'Application' Event log, then click the original shortcut. If the application triggers self-healing (which will show up in the Event log) then the MSI has a user-level feature which is creating the shortcut. It should be a simple matter of tracking it down.

If the application is creating the new shortcut, if you don't already have one, you need to obtain a bright, shiny new Packager's Baseball Bat and then visit the vendor.
Posted by: rock_star 12 years ago
4th Degree Black Belt
0
This issue is related with application rather the application installer.

ALLUSERSPROFILE shorcut is overshadowed with the user level shortcut.


Vendor == Client so i can't beat him . I need money for my expenses [;)]
Posted by: SandeepPanat 12 years ago
Orange Senior Belt
0
Yes, I've seen such installation authors who want to deliver user based components by this odd way, asking the users to run the install themselves. And, they call it a MSI based setup.

@OP - If they want it this way, why don't you just use a CopyFile script to copy the shortcut in %userprofile% and then delete the %allusersprofile% shortcut?
Of course, MIND THE GAP ! before you try and record user response.
Posted by: rock_star 12 years ago
4th Degree Black Belt
0
User doen't install anything . When application launches for first time shortcut and some files gets populated in user profile .( like new certificate , shortcut)

@Sandeep It's hard to manage these type of scenerio copy file (report in SCCM).

Case3 :

I have tested and copied the Read Only shortcut to roaming profile (C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Companyname\Company.lnk
) , So when a user launches the main shortcut , newer shorcut is not downloaded to the roaming location (just gets a prompt for first time that the shortcut is not downloded).

Application is working as expected .
Posted by: SandeepPanat 12 years ago
Orange Senior Belt
0
I'm confused. Is your issue resolved now?
In your first post, you mentioned the problem.

ORIGINAL: rock_star
Problem :
The newer downloaded is not pointing to correct path.


And, now

ORIGINAL: rock_star
So when a user launches the main shortcut , newer shorcut is not downloaded to the roaming location (just gets a prompt for first time that the shortcut is not downloded).

Application is working as expected .


You want the shortcut to be created or not?
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