@@ -45,8 +45,17 @@ static public void Main(string[] args)
4545
4646 //msiOnlinePackage, //just a demo sample
4747
48- new MsiPackage ( crtMsi ) { DisplayInternalUI = true , Visible = true , MsiProperties = "PACKAGE_PROPERTY=[BundleVariable]" } ,
49- new MsiPackage ( productMsi ) { DisplayInternalUI = true , Payloads = new [ ] { "script.dll" . ToPayload ( ) } } ) ;
48+ new MsiPackage ( crtMsi )
49+ {
50+ DisplayInternalUI = true ,
51+ Visible = true ,
52+ MsiProperties = "PACKAGE_PROPERTY=[BundleVariable]"
53+ } ,
54+ new MsiPackage ( productMsi )
55+ {
56+ DisplayInternalUI = true ,
57+ Payloads = new [ ] { "script.dll" . ToPayload ( ) }
58+ } ) ;
5059
5160 bootstrapper . AboutUrl = "https://github.com/oleg-shilo/wixsharp/" ;
5261 bootstrapper . IconFile = "app_icon.ico" ;
@@ -67,11 +76,13 @@ static public void Main(string[] args)
6776 // bootstrapper.Application.LicensePath = null; //HyperlinkLicense app with no license
6877
6978 bootstrapper . Application . AttributesDefinition = "ShowVersion=yes; ShowFilesInUse=yes" ;
70- // bootstrapper.Application.Bo
7179 bootstrapper . Include ( WixExtension . Util ) ;
7280
81+ bootstrapper . IncludeWixExtension ( @"WixDependencyExtension.dll" , "dep" , "http://schemas.microsoft.com/wix/DependencyExtension" ) ;
82+ bootstrapper . AttributesDefinition = "{dep}ProviderKey=01234567-8901-2345-6789-012345678901" ;
83+
7384 // The code below sets WiX variables 'Netfx4FullVersion' and 'AdobeInstalled'. Note it has no affect on
74- //the runtime behavior and 'FileSearch' and "RegistrySearch" are only provided as an example.
85+ //the runtime behaviour and 'FileSearch' and "RegistrySearch" are only provided as an example.
7586 bootstrapper . AddWixFragment ( "Wix/Bundle" ,
7687 new UtilRegistrySearch
7788 {
0 commit comments