How to add entries of the directorytable in the propertytable ?
How to add entries of the directorytable in the propertytable ?
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\.
Comments
You cannot set property
You cannot set property values in the property table to other property values as this is not allowed by Microsoft due to recursion risks.
You need to either use the Set Property custom action to set a property to a value, which can be another property name, or you can reference environment variables directly using the syntax: [%ENVIRONMENTVARIABLENAME], for example in the registry table.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.