New Post: Custom InstalledFileActions
Thanks. Removing the warning suits us. I'll look into those events too. You may be interested to know there's a team down here in New Zealand using Wix# for several dozen installers. Joshua
View ArticleNew Post: Custom InstalledFileActions
> You may be interested to know there's a team down here in New Zealand using Wix# for several dozen installers. Great! It's particularly pleasant to know that your neighbours enjoy your work. I am...
View ArticleNew Post: Managed UI dialogs size
Hi, In the previous versions of WixSharp, I changed the default dialogs size, by setting the Parent.ClientSize to a new value in my custom dialogs Load event. Starting with 1.0.28 it seems I cannot...
View ArticleNew Post: Managed UI dialogs size
It seems it works if I reset the Parent.MinimumSize and the Parent.MaximumSize before I change the Parent.ClientSize in my dialog Load event. Out of topic, I noticed that also PathFileAction objects...
View ArticleNew Post: Managed UI dialogs size
Thank you. I have opened two issues from your feedback:https://wixsharp.codeplex.com/workitem/80https://wixsharp.codeplex.com/workitem/81 The dialog size is a tricky one as it works exacly as intended....
View ArticleNew Post: How to implement Rollback?
I'm very new in wix, msi and wix#... How to implement Rollback using wix# ? For example, I have installed my app to folder. And now I need to do something: call some 3d party application or connect to...
View ArticleNew Post: Managed UI dialogs size
Both problems are fixed in Release v1.0.28.1 (HotFix). You can get it from NuGet:Install-Package WixSharp.bin -Pre Now you can update the initial ShellView size in the dedicated event handler:...
View ArticleNew Post: How to implement Rollback?
You need to implement CustomAction and in this action return success or failure. The easiest way of doing this is to use ManagedSetup events: project.AfterInstall += project_AfterInstall; ......
View ArticleNew Post: How to implement Rollback?
Thanks. But the project_afterInstall and other built-in handlers during uninstallation has less permissions (somehow) when during installation. That's why we used elevated managed action. In our custom...
View ArticleNew Post: How to implement Rollback?
> But the project_afterInstall and other built-in handlers during uninstallation has less permissions (somehow) when during installation. Actually it is vice versa. AfterInstall is deliberately...
View ArticleNew Post: How to implement Rollback?
oleg_s wrote: Actually it is vice versa. AfterInstall is deliberately based on the deferred custom action so you have elevated execution context. My fault. Sorry. I think it was BeforeInstall with less...
View ArticleNew Post: Project Won't Build if Using SilentBootstrapperApplication
I have a single project componenet and the Wix# project to build the bootstrapper and installer in one solution. All works well if I simply accept the default bootstrapper application, but if I use the...
View ArticleNew Post: RemoveExistingProductAfter values
Hi, Setting RemoveExistingProductAfter property of MajorUpgradeStrategy to Step.InstallExecute or Step.InstallExecuteAgain or Step.InstallFinalize leads to removing the application when actually I am...
View ArticleNew Post: How to implement Rollback?
> With AfterInstall I had another problem I didn't found inforamtion how to pass reference to external dll which comes togather with application to AfterInstall To be entirely accurate you will have...
View ArticleNew Post: How to implement Rollback?
My solution was something like that. So I could do all with required permissions and refs and even track the status (this topic was helpfull): Actions:var runTaskSchedulerAction = new...
View ArticleNew Post: How to implement Rollback?
> does project.DefaultUsesProperties can send assembly even to default events like BeforeInstall ? No it doesn't. I assume it is typo. For assemblies you need to use DefaultRefAssemblies. And yes...
View ArticleNew Post: How to install fonts?
I could not find an example. I attempt the following: var project = new Project("MyProgram", new Dir(@"%ProgramFiles%\My Company, Inc.\MyProgram", new Files(@"C:\Users\ddavi\Documents\Visual Studio...
View Article