/build/static/layout/Breadcrumb_cap_w.png

How to add entries of the directorytable in the propertytable

In some property values I have to resolve directory names,
for example ALLUSERSPROFILE has to be resolved in it.
On a windows xp system this has to resolved to C:\Documents and Settings\All Users.

I have added them in the property table as below:
"COMMONAOC","[ALLUSERSPROFILE]\Aoc\"
"COMMONCONFIG","[ALLUSERSPROFILE]\Config\"
"COMMONTEMP","[ALLUSERSPROFILE]\Temp\"

I get the following error in my log file

MSI (s) (94:E8) [13:15:47:259]: Note: 1: 1606 2: [ALLUSERSPROFILE]Temp\
Error 1606.Could not access network location [ALLUSERSPROFILE]Temp\.



I have also tried the following

I have added them in the property table as below:
"COMMONAOC","[%ALLUSERSPROFILE]\Aoc\"
"COMMONCONFIG","[%ALLUSERSPROFILE]\Config\"
"COMMONTEMP","[%ALLUSERSPROFILE]\Temp\"

I get the following error in my log file

MSI (s) (94:E8) [13:15:47:259]: Note: 1: 1606 2: [%ALLUSERSPROFILE]Temp\
Error 1606.Could not access network location [%ALLUSERSPROFILE]Temp\.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: timmsie 14 years ago
Fourth Degree Brown Belt
2
You can't set a Property in the property table using a property, it wont get resolved.

you need to use a type 51 set property custom action

http://msdn.microsoft.com/en-us/library/aa368237(VS.85).aspx
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