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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hey Misk,

Could you not use the [AppDataFolder] Property?

Rgds,
Mark
Answered 08/01/2006 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
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.
Answered 08/01/2006 by: misk
Orange Senior Belt

Please log in to comment
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?
Answered 08/01/2006 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
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?
Answered 08/01/2006 by: AngelD
Red Belt

Please log in to comment
0
Hey Misk,

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

Cheers,
Aidy.
Answered 08/02/2006 by: islander222
Senior Yellow Belt

Please log in to comment
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.
Answered 08/02/2006 by: misk
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity