/build/static/layout/Breadcrumb_cap_w.png

users appdata folder

hi folks, i have an msi that install c:\softco\user.config
i use a set directory property so that it gets changed at install time to [%APPDATA]\softco.
this works fine when i manually install the msi.
when i deploy it through sms it does not run. I am aware this is due to the fact that there is no logged in user when sms installs the msi.

Can anyone think of another way to get this file to each users appdata folder via installer technology?

all help much appreciated.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
Hey Misk,

Could you not use the [AppDataFolder] Property?

Rgds,
Mark
Posted by: misk 17 years ago
Orange Senior Belt
0
a chara, an bhfuil tú go maith?
i gave that a go alright but no joy, sms dont like it.
back to the drawing board.
Posted by: mark_holland21 17 years ago
Fourth Degree Green Belt
0
Ta me go maith anois, ta me i Balie Atha Cliath anois agus ta me ag ol alan deoch! Ta pian i mo chean freisin! Agus tu fein?

Right, SMS didn't like it when you tried the Environment variable one, maybe that's 'cos it can't define it unless the user is logged on, i.e. gets the Environment variable from the users' profile. Did you try the Windows Installer [AppDataFolder] Property?
Posted by: AngelD 17 years ago
Red Belt
0
Using AppDataFolder won't work because it will be resolved to the installers appdata folder.
You will need to use the Set Directory CA and specify "[%APPDATA]\softco" as you mentioned. Just set the CA right after the CostFinalize action.
How are you deploying the package through SMS?
Posted by: islander222 17 years ago
Senior Yellow Belt
0
Hey Misk,

After the app is pushed it via SMS - does a repair solve your problem?

Cheers,
Aidy.
Posted by: misk 17 years ago
Orange Senior Belt
0
hi a chairde,
when deployed via sms (when user is not logged on) it fails so the app rolls back. so a repair is not a valid solution.
however Aido, you are on the ball as that works in a manual environment.
I didnt have anymore time to spare so i used a vbs to sort out the issue.
thanks for the replies guys.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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