Title: RE: VBScript and ComboBox
No the custom action is not deferred, as I understand deferred it would run the code outside the installer sandbox and would not be able to access it's properties.
 
I linked the CA to a button that calls a function that does a lookup (SQL query) into the properties table and extracts the properties with the same name as the combobox. This should be very straight forward, but every time it terminates with an error. As debugging is hard with VBScrips, as I know but my hands are tied, would like to do the code in c++ but again our environment is just managed code. So until WI supports managed extensions this is what I must endure :)
 
Thanks again for trying to help.
 
morten
 

Fra: Bob Arnson [mailto:[EMAIL PROTECTED]
Sendt: 25. oktober 2006 16:38
Til: Lerudjordet, Morten Minge
Kopi: wix-users@lists.sourceforge.net
Emne: Re: [WiX-users] _vbscript_ and ComboBox

Lerudjordet, Morten Minge wrote:
I already use this in my wix code, but trying to access the installer database from external code I don't seem to find this property.

Are you trying to access the property from a deferred custom action?

That is why I was wondering if this property was added to another table than Propery. If the combobox property was in the property table the following code should extract it.

Properties aren't updated/added to the Property table at install time. That's why you have to persist property values in the registry (e.g.) to restore them at uninstall time.

-- 
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to