desktop shortcut & remote deployment

Got a problem you cannot solve? Try here.
jkirby
Posts: 16
Joined: Wed Feb 19, 2014 5:44 am

desktop shortcut & remote deployment

Postby jkirby » Wed Mar 12, 2014 8:49 am

HI Support,

I have created a project which i can successfully push out via group policy, the only thing that doesn't work is adding a shortcut to the desktop. Is this because the deployment is based on the computer rather than the user. e.g The software is installed on start up (before any user has logged in) and if so is there anyway around it?

Thanks,
James.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: desktop shortcut & remote deployment

Postby FrancescoT » Wed Mar 12, 2014 11:59 am

Dear James,

I suppose that probably this happens because the desktop destination folder for the shortcut is not correct.

If you try to install your package manually (without pushing it via group policy) for all users (per-machine), does it create the desktop shortcut?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

jkirby
Posts: 16
Joined: Wed Feb 19, 2014 5:44 am

Re: desktop shortcut & remote deployment

Postby jkirby » Thu Mar 13, 2014 2:02 am

yes, when installing manually the shortcut is created on the desktop.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: desktop shortcut & remote deployment

Postby FrancescoT » Thu Mar 13, 2014 9:09 am

Dear James,

Could you please try if the attached msi package creates a desktop shortcut?

NOTE!
the attached package executes a per-machine (for all users) installation only.

Regards
Attachments
SysTest.zip
(3.02 MiB) Downloaded 396 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

jkirby
Posts: 16
Joined: Wed Feb 19, 2014 5:44 am

Re: desktop shortcut & remote deployment

Postby jkirby » Fri Mar 14, 2014 3:18 am

Morning Francesco,

I've run the MSI manually and via group policy and the shortcut gets added both ways, so I guess I'm doing something wrong with my MSI build?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: desktop shortcut & remote deployment

Postby FrancescoT » Fri Mar 14, 2014 9:08 am

Dear James,

First verify that your MSI script code includes the following code (at the very beginning of the "Process (Un)Installation" code region);

Code: Select all

if Variable ALLUSERS Equals TRUE
  Comment: THE FOLLOWING COMMAND USES THE "GET FOR ALL USERS" FLAG
  Comment: TO RETRIVE THE DESKTOP FOLDER LOCATION "FOR ALLUSERS".
  Get Common Folder Location System->Desktop Directory into DESKTOPDIR
else
  Get Folder Location System->Desktop Directory into DESKTOPDIR
end

Then verify that the ALLUSERS pre-defined variable is effectively TRUE (per-machine installation).
It is possible to force this variable as TRUE, executing the MSI file from command line as follow;
> msiexec.exe /i <msi-package> CMDLINE="ALLUSERS=TRUE"

Alternatively, it is possible to use the IA Group Policy Wizard tool to embed the above command line with the MSI package.
In this case enter "ALLUSERS=TRUE" (without quotes) in the "Command Line parameter" filed of the IA Group Policy Wizard tool (while converting your setup.exe to MSI).

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

jkirby
Posts: 16
Joined: Wed Feb 19, 2014 5:44 am

Re: desktop shortcut & remote deployment

Postby jkirby » Mon Mar 17, 2014 9:50 am

Hi Francesco,

Adding that script fixed my problem.

Thank you for your help

James.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: desktop shortcut & remote deployment

Postby FrancescoT » Mon Mar 17, 2014 12:11 pm

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 93 guests