We have an application that fires off a repair on login so the current users reg values are set.

I need to set up the install so it changes a value dependent on the existence of a directory.

I'm OK with setting a property using a system search within wise, but I was wandering what would be the best way to set the value to the relevant key, (Im guessing a cutom action, maybe VB script?)

Thanks in advance
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
I would do it via a system search. I generally go by the rule of thumb that the less custom actions the better the msi.
Answered 06/12/2007 by: spottedcoin
Senior Yellow Belt

Please log in to comment
0
Use a REG ADD commandline.
Typre REG ADD /? in your commandbox to get the commandline for this standard windows command.

You can use the property in a condition for execution.

Simple and functional.
Answered 06/13/2007 by: JFSeubers
Yellow Belt

Please log in to comment
0
Hi Jimmy,
use the registry table for this also, but set the root column to 1.
In Wise, you just have to put on the right place below the 'HKEY_CURRENT_USER' hive.
Regards, Nick
Answered 06/13/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Thanks for that info guys

I have got it to work on a fresh install

The problem now is that on repair the key is being overwritten by a default value, I'm thinking that the systemsearch is not running on a repair so the property is never being set.

Is this normally the case? and if so can I change it so systemsearch is always run on a repair?
Answered 06/13/2007 by: jimmyx
Purple Belt

Please log in to comment
0
Hi Jimmy,
please turn on logging and look at logfile in the users temp folder.
Search for the appsearch action and take a closer look there.
Regards, Nick
Answered 06/13/2007 by: nheim
Tenth Degree Black Belt

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