If you haven't started the install yet, you could pass those properties on the
command line. Alternatively, the first parameter in the UIHandler callback
("context") is (can be cast to) the MSIHANDLE for the install. The example
callback in MSDN casts it to an MSIHANDLE when it calls MsiFormatRecord(). I've
never tried an MsiSetProperty() on it though.
Phil Wilson
-----Original Message-----
From: Pratapa Reddy Sanaga [mailto:[email protected]]
Sent: Wednesday, September 15, 2010 3:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Can msi external ui write to the MSI properties?
Hi,
I'm trying to see if I can use msi external ui for my project. Will I be
able to get an input from the user using msi external ui and then store
that, lets say string, input from the user into one of the msi properties? I
feel it can't be done because the external ui would probably be running in a
separate process and it wouldn't have any handle to the currently running
msi to set the property. Please assert my understanding.
Thanks,
Pratap.
--
Vote for loksatta = vote for a better future
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
*** Confidentiality Notice: This e-mail, including any associated or attached
files, is intended solely for the individual or entity to which it is
addressed. This e-mail is confidential and may well also be legally privileged.
If you have received it in error, you are on notice of its status. Please
notify the sender immediately by reply e-mail and then delete this message from
your system. Please do not copy it or use it for any purposes, or disclose its
contents to any other person. This email comes from a division of the Invensys
Group, owned by Invensys plc, which is a company registered in England and
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X
7AW (Registered number 166023). For a list of European legal entities within
the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
[email protected]. This e-mail and any attachments thereto may be subject
to the terms of any agreements between Invensys (and/or its subsidiaries and
affiliates) and the recipient (and/or its subsidiaries and affiliates).
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users