/build/static/layout/Breadcrumb_cap_w.png

Uservariable in Property | Acad 2007

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

Answers (2)

Posted by: spartacus 17 years ago
Black Belt
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
Posted by: The Packeteer 17 years ago
Senior Yellow Belt
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
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