/build/static/layout/Breadcrumb_cap_w.png

MSI Shortcut

Hi all,

i have a lot of MSI packages, which I deploy trough GPO, some of them I deploy to users.
I've deleted all the shortcuts the package actually makes with Orca untill now.
That's because when a user logs on shortcuts from a server locations will be copied to the Start Menu.
But I got a little bit sick of everytime creating manually a shortcut to the program,
so I wanted to just let the MSI create that shortcut on the Server location.

I.e. for the Orca MSI at:

\\server\menustart$\%COMPUTERNAME%\Orca.lnk

Or

M:\%COMPUTERNAME%\Orca.lnk

if the first one isn't supported by MSI (if that is, a bit strange trough).
I've tried a few things but I'm getting error messages everytime and I still can't get the hang of the Directory table.

So can anybody help me with this.
Thanks,
Snake86.

Btw: sorry if my senses are a bit strange, I'm Dutch.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: aogilmor 17 years ago
9th Degree Black Belt
0
snake, the way to do what you are want with an MSI is to set up your shortcut paths in the property table.

Property Value
SHORTCUTPATH M:\app path\exename.exe

Then in the Shortcut table, set your Target Field = to [SHORTCUTPATH] (you need the square brackets).
If you want to set the Working Directory (WkDir) you must set up a second property and populate that field with the property name WITHOUT brackets. The altiris forums have some good info on this.
Posted by: Snake86 17 years ago
Senior Yellow Belt
0
I think you understand me wrong, the MSI package has to create the shortcut in \\server\menustart$\%COMPUTERNAME%.
For %COMPUTERNAME% then the name of the computer where the package is installed.
And that shortcut links to the file somewhere in the program files folder where it is installed on that machine.

Snake86
Posted by: nheim 17 years ago
10th Degree Black Belt
0
Hi Snake86,
you have to use the correct format to read an env. variable. See:
http://msdn2.microsoft.com/en-us/library/aa368609.aspx
Your path string should look like this: \\server\menustart$\%COMPUTERNAME\Orca.lnk
If the variable doesn't resolve, create a custom action type 51 to set a property with the hole path.
Use logging to control the behaviour.
Hope this points you in the right direction.
Regards, Nick
Posted by: Snake86 17 years ago
Senior Yellow Belt
0
All right, I did it. For the people who are interested:

I've created a new property row (in the property table),
with as property MenuStartOnServer and the value \\server\menustart$\%ComputerName%.
Next I've changed the Directory_ value in the Shortcut table to MenuStartOnServer.
This worked fine!

Thanks all for you're replys.
Posted by: madhuri.ts 13 years ago
Yellow Belt
0
Hi,
There is no shortcuts in my package and neither it is asked in the discovery.
So, how do I check, where the shortcut is present when I install my msi??
I even added a Property; "ARPSYSCOMPONENT = 1" , to make visibile in ARP, but It didn't work.
Kindly suggest.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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