Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: CustomCLRDialog not correctly works in bootstrapper

$
0
0
Hello,
In my msi I created CustomCLRDialog, injected it by using code
 project.UI = WUI.WixUI_Common;
 project.InjectClrDialog("ShowRestorePathDialog", NativeDialogs.InstallDirDlg, NativeDialogs.VerifyReadyDlg);
...
var mainProj = project.BuildMsi();
and in .msi it works really fine!
Then I added this msi to bootstrapper:
var bootstrapper = new Bundle(ProjectName); 
var msi = new MsiPackage(mainProj);
msi.Id = ProjectName;
msi.Permanent = false;
msi.DisplayInternalUI = true;
msi.InstallCondition = "VersionNT64";
msi.Vital = false;
bootstrapper.Chain.Add(new PackageGroupRef("NetFx45Web"));
bootstrapper.Chain.Add(msi);
bootstrapper.Application = new SilentBootstrapperApplication(msi.Id);_
When I run burned .exe file, at step with customDialog it opens like a new msi and it fully minimized...Image
Can you suggest what I'm doing wrong?

Viewing all articles
Browse latest Browse all 1354

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>