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\.
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)
Please log in to answer
Posted by:
timmsie
14 years ago
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
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.
so that the conversation will remain readable.