[WiX-users] Examples of Burn

2012-05-29 Thread Werner Strydom
Hello,

Where can one get an end-to-end example of writing your own burn UI? I have 
been looking around and the examples are rather incomplete or overly complex 
without much explanation.

I have a system that depends on a database as well as requiring that all 
sensitive data to be encrypted in the registry and database. The data stored in 
the database is also dependent upon what the administrator enters at login and 
has to match other configuration elements (such as bindings of the website).

It seems logical to do some of the work in the Burn UI itself rather than 
delegating it to a custom action in the MSI. 

Thanks,
Werner



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wixstdba and manifest

2012-08-05 Thread Werner Strydom
Hello,

I'm adapting wixstdba to use a standard Win32 wizard rather than themes to deal 
with additional complex processing required during prerequisite checking, 
requesting and encrypting credentials of databases and other external systems 
and performing some post processing after the installation.

The call to BalManifestLoad fails and the logs show "Failed to load 
bootstrapper application manifest.". I narrowed it down to 
XmlLoadDocumentFromFile failing to load the xml.  

The bundle.wxs file looks as follows:

--- BEGIN SNIPPET 

http://schemas.microsoft.com/wix/2006/wi";>







--- END SNIPPET --

And the manifest that is being generated in the "%LOCALAPPDATA%\TEMP\" 
folder looks as follows:

--- BEGIN SNIPPET 

http://schemas.microsoft.com/wix/2010/BootstrapperApplicationData";>
 
 

--- END SNIPPET -

The file is an XML file, however, its unclear why XmlLoadDocumentFromFile would 
fail. Documentation about how to implement a boostrapper from scratch and how 
it works is almost nonexistent. This makes it rather difficult to diagnose 
issues like this. 

I'd appreciate any help.

Thanks,
Werner





--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Checking whether Windows roles and features is installed

2012-08-08 Thread Werner Strydom
Hello, 

I'm working on an installer that requires numerous roles and features to be 
enabled. If those components are not available, the system, consisting of web 
applications, MSMQ, and SMTP server will fail to install, never mind run. 

Does WIX 3.6 support checking whether a Windows feature is installed? If not, 
what is the most appropriate manner to implement such a check? What comes to 
mind is to create a WIX extension, with a custom action that reads a MSI table 
to check whether the feature is available or not and fail with an appropriate 
message when its not.  Are there tutorials showing how to write a sample WIX 
extension? 

However, if one were to chain several such MSIs together, isn't it perhaps more 
appropriate that such checking be done by bootstrapper created using burn? If 
that is the case, are there any tutorials/samples how to check for 
prerequisites without checking the registry? In this case we can use WMI to 
query Win23_ServerFeature whether a feature/role is installed or not. 

Thanks,
Werner
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Passing information from bootstrapper application to msi packages

2012-08-08 Thread Werner Strydom
Hello,

I wrote a native bootstrapper (using std win32 dialogs, rather than themes) 
which requests some data from users before proceeding to install and configure 
the product. This includes requesting the top level domain for websites and 
keys used to encrypt registry entries.  Without it, installing the product will 
be rather complex, error prone and frustrating.

How do I pass this information to the numerous MSIs being installed? I called 
SetVariableString of the underlying engine. However, it doesn't seem to have 
any effect.  

Thanks,
Werner


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to get started with WiX in VS IDE?

2012-08-13 Thread Werner Strydom
I have been using WIX on-and-off since v2.0 and must add that its getting 
increasingly difficult to follow the project. 

Not only is information scattered across several sites but finding information, 
especially in this mailing list, is difficult. While using Google will 
certainly help you find an entry, trying to follow the conversation is a tad 
more complex as it depends whether the original messages were includes, how 
much "gunk" are added to the bottom of emails (like boilerplate, disclaimers 
and marketing material).  

Any chance one can use a different platform, such as Google Groups, to discuss 
and support WIX? 

Werner
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users