|
|
Accessing MSI properties from the Installer class in System.Configuration.Install |
|
Author |
Message |
bkejser

|
Posted: .NET Base Class Library, Accessing MSI properties from the Installer class in System.Configuration.Install |
Top |
Hi
I wrote a custom installer class by subclassing the Installer class in the System.Configuration.Install namespace but I have been unable to access the MSI properties such TARGETDIR. Is this possible If so, how
Thanks
.NET Development23
|
|
|
|
 |
dreamlordzwolf

|
Posted: .NET Base Class Library, Accessing MSI properties from the Installer class in System.Configuration.Install |
Top |
yes it is, i think the reason is that unlike other custom properties
where you just put CUSTOMPROPERTY you can access it, if your using the
special property TARGETDIR, you must enclosed it with these brackets []
and double quotation marks, like /statePropert="[TARGETDIR]\subfolders"
hth...
|
|
|
|
 |
ScottWK

|
Posted: .NET Base Class Library, Accessing MSI properties from the Installer class in System.Configuration.Install |
Top |
Is there a way to Set MSI properties from within an Installer Class
|
|
|
|
 |
dreamlordzwolf

|
Posted: .NET Base Class Library, Accessing MSI properties from the Installer class in System.Configuration.Install |
Top |
Installer Class can only be called in the custom actions within the whole installation state, so I think the only way is to call an external application at the custom action that edits MSI. Provided that the called application will run on a seperate process so it will be independent from the Installer.
|
|
|
|
 |
|
|