Hey there!

I am having a little problem in a Transform i have made from the Autocad 2007 MSI that will be deployed at a customer hopfully next week :)

The problem is :

The property Table contains direct filepaths. this i can handle.

The property Table contains Directory pointers for stuff INSIDE the userprofile ( C:\documents And Settings\customerUser\Application Data.

How can i make the " CustomerUsers" a variable that the right userprofile is selected. The Msi will repair when its placed in the wrong path.

I hope you can shed some light on it.

Kind Regards,
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
The AppDataFolder property holds the full path to the Application Data folder for the current user, so this could help you out.

Unfortunately you can't just use the Property table to set a property to the value of another property (either in whole, or in part). Instead, in the transform you could remove the relevent entries from the property table and then use a Type 51 Custom Action (Set Property) to set each property to the value [AppDataFolder]mumble (where mumble = whatever you wish to follow the path to the Application Data folder).

Note that if any of the properties are used in a condition on a component or feature, the Type 51 custom action(s) must come before the CostFinalize action in the action sequence.

Regards,

Spartacus
Answered 09/26/2006 by: spartacus
Black Belt

Please log in to comment
0
Thanks for the Reply Spartacus, im booting up the machines now to test it.

Ill update this post with the testresults.

Regards,

The Packeteer
Answered 09/27/2006 by: The Packeteer
Senior Yellow Belt

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