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

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

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
Answered 03/18/2010 by: timmsie
Fourth Degree Brown Belt

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