Hidden Shares and Shortcuts
Posted: Mon Jul 31, 2006 9:47 am
I have a project with the following in the script
and later on
Basically this is supposed to install shortcuts onto the users roaming desktop that is shared as UserDesktop$ (i.e. a hidden share).
When I run this it appears to fail because it cannot create the shortcut in this share. I have looked at the MSI.LOG and sure enough a similar error is occuring, before the system rolls back the installation.
I am running this through the GPO Wizard and have set the GPO to 'Always use elevated priviledges' so am not sure why it would object to creating this other than the fact it is a workstation that is running the script effectively from the GPO.
Can anyone see why the software should object to this sort of scenario?
Thanks - John
Code: Select all
Set Variable TARGETDIR to $BOOTPATH$\\H1177
Set Variable DESKTOP to \\\\SHIPSERVER\\UsersDesktops$
Set Variable SHIPAPPS to Desktop\\Shipboard Applications
and later on
Code: Select all
Create Shortcut $DESKTOP$\\MASTER\\$SHIPAPPS$\\TANKER Loading Software to $TARGETDIR$\\TANKER.EXE
Basically this is supposed to install shortcuts onto the users roaming desktop that is shared as UserDesktop$ (i.e. a hidden share).
When I run this it appears to fail because it cannot create the shortcut in this share. I have looked at the MSI.LOG and sure enough a similar error is occuring, before the system rolls back the installation.
I am running this through the GPO Wizard and have set the GPO to 'Always use elevated priviledges' so am not sure why it would object to creating this other than the fact it is a workstation that is running the script effectively from the GPO.
Can anyone see why the software should object to this sort of scenario?
Thanks - John