cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joshuafoulk
Level 3

List of Session Properties

I was under the impression that the session properties available in VBScript were simply those in the Property Manager, but I don't see a property listed for "INSTALLDIR" which is available durring immediate execution of a CA...

Is there a place where I can get a list of properties that are available to my scripts?

I would like to know the path to the user's desktop if possible.
Labels (1)
0 Kudos
(2) Replies
joshuafoulk
Level 3

Found them in the MSDN for Windows Installer...

http://msdn.microsoft.com/en-us/library/aa370905(VS.85).aspx
0 Kudos
Christopher_Pai
Level 16

You can get a list of properties in several ways..

1) Take a look at the help topic 'Windows Installer Property Reference'.

2) Remember that all directory table entries ( like INSTALLDIR) become properties after Costing

3) Run the install during a log and see what interesting properties are set.

Either way, you are probably looking for the property DesktopFolder. Also remember that CA's that change the state of the machine should be scheduled as deferred and that you need to serialize your data and pick it out of the CustomActionData property.
0 Kudos