How to install files on network drive
My issue is the following, I'm trying to create an installation package for BMC Remedy User 7.1 which installs the files AR (contains server config) and AR.ini (personal app config) onto the users My Documents, which is redirected to a network share \\server\users\username.
The snapshot I created for this app is working fine except for these 2 files, which I can't get to install on the users home drive (My Documents).
I tried several things like the ROOTDRIVE property, using environment variables,... but I can't get this to work properly.
The difficult part in this problem is the fact that the MSI will be installed by using the SYSTEM account. The shortcuts are advertised so the moment the user (with limited rights) starts the application, the currentuser items are done (self healing). This works fine for all our applications which only need to install files locally on the C:-drive, but for this one I want to have the self healing put the AR and AR.ini file onto the users home drive.
Now of course my question, is there a proper way to accomplish this in an MSI?
Tips, hints and of course solutions are welcome as I'm running out of these at the moment.
Community Chosen Answer
Never mind my question, I just had an epiphany how to solve my own problem [:D]
In the MSI package I used the ROOTDRIVE property to point to the redirected home folder (F:\-drive), this I tried before as well but then the installation with SYSTEM account failed as there was no F:-drive at that time. This I now solved by using SUBST in the batch file where I started the MSI installation to also have an F:-drive when installing with SYSTEM account, SUBST is now creating an F:-drive which points to %TEMP%.
When I now start the application via the advertised shortcut the SelfHealing kicks in and creates the 2 files on the user's personal F:-drive.
Problem solved, but if you have better ways of solving this issue, please feel free to post, I'm more than interested how to fix this issue completely inside the MSI file.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.