cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

self healing for a shortcut pointing to a network drive

CChong
By Level 11 Flexeran
Level 11 Flexeran
Hello All,
I need to create a shortcut pointing to a network drive and at the same time it will install self healing for Registery keys under current User Hive.
Thanks
(2) Replies
ictaklas, how are you planning to deploy this msi? I had a similar application that was going to run from the network drive. Once i did my initial msi, i had to open it in Developer and change the drive letter with a variable that you can create. For example, my application had to point to F:\networkdrive\app.exe. So i created a variable name dr_path , where value is equal to F:\ . Then i went to properties of my shortcut and changed it to dr_path\networkdrive\app.exe . If you do not do this, everytime you try to instal this app and drive F: is not present...installation will fail.
CChong
By Level 11 Flexeran
Level 11 Flexeran
ictaklas,

You can add UNC path or mapped drive letter to shortcut Target. If mapped drive is not available then set will fail.

For self healing registry key, create registry key HKEY_CURRENT_USER and set Key Path to this regsitry entry.