Quantcast
Channel: wixsharp Discussions Rss Feed
Browsing all 1354 articles
Browse latest View live
↧

New Post: ExeFileShortcut set working directory to %TEMP%

Awesome. Thanks so much. I think that got it.

View Article


New Post: Bug in installation to Program Files directory

Hi, Oleg! I have an installer with managedUI. During the installation I selected installation folder in standard InstallDir dialog: C:\Program Files\My Company\My Product Product is installed to...

View Article


New Post: Bug in installation to Program Files directory

No it is not a bug. It is an unfortunate non-intuitive behavior of MSI. I guess MSI handles special folder ProgramFiles in a tricky way and always maps path C:\Program Files to the actual folder...

View Article

New Post: How to guarantee custom actions aren't executed on upgrades

Hello, I have the following situation: Setup installs a single .exe and a configuration file Three custom actions:Installs the exe as a service (calls the console application with a given...

View Article

New Post: How to guarantee custom actions aren't executed on upgrades

Hi José, One obvious thing that can help is to fix the deployment to follow/respect "separation of concerns" principle. Your config file does not belong to the deployment as is a part of the...

View Article


New Post: How to guarantee custom actions aren't executed on upgrades

Hello, Thank you for the quick reply. I will evaluate with the team if we have an alternative, but I believe the decision to make configuration and setup a single step is irreversible. I will look into...

View Article

New Post: How to guarantee custom actions aren't executed on upgrades

You may also find useful this info. It's a fragment from the WixSharp.MsiRuntime code doco:/* http://www.codeproject.com/Articles/132918/Creating-Custom-Action-for-WIX-Written-in-Managed * Expected to...

View Article

New Post: Bug in setting background image

Hi, Oleg! I have a managed project with standart UI. I detedted a bug in setting BackgroundImage. When I set up BackgroundImage with dimensions 493312(standart size) BuildWxs return null. When I set up...

View Article


New Post: Saving product settings in registry

Hi, Oleg! I have a managed project with standart UI. Unfortunatelly, I can't use ManagedUI, because burn doesn't show UI. After installation I want to save product settings, that user input in UI, in...

View Article


New Post: Bug in setting background image

Wix# does not participate in images handling of the standard UI. The images you specified are simply passed to the WiX as is:...

View Article

New Post: Saving product settings in registry

> Unfortunatelly, I can't use ManagedUI, because burn doesn't show UI. Yeah, this is unfortunate. WiX guys scheduled the fix for the next WiX version so let's hope...> But in SaveSettings...

View Article

New Post: Can't understand that the program is uninstalling

Hi, Oleg! There is the same problem in managed project with standart UI. I click Remove button in MaintenanceTypeDialog. In BeforeInstall and AfterInstall event handlers e.IsUninstalling is false.

View Article

New Post: Can't understand that the program is uninstalling

I need to clarify. When you execute your msi and facing MaintenanceTypeDialog (managed or standard) you are always is in maintenance mode. That is it. As far as MSI runtime concerned you are modifying...

View Article


New Post: Can't understand that the program is uninstalling

And of course you can also avoid all these troubles if you stop allowing user to modify (only repair and uninstall) your setup. Thus way unninstalling can be determined reliably

View Article

New Post: Saving product settings in registry

I tried to use UsesProperties and DefaultDeferredProperties. I change property's value in in BeforeInstall event handler, but it isn't changes I set up UsesProperties in ElevatedManagedAction: new...

View Article


New Post: InjectClrDialog throw exception

Hi, Oleg! I tried to Inject 2 dialogs. var project = new Project("CustomDialogTest", new Dir(@"%ProgramFiles%\My Company\My Product", new File("setup.exe")));...

View Article

New Post: Uninstall previous version of MSI befor installing a later one

Hi Oleg, Thanks for your reply. I have managed to uninstall the previous version of MSI before installing the newer version by following the below steps.Removing the Website from IISStopping Window...

View Article


New Post: Uninstall previous version of MSI befor installing a later one

It is pure MSI problem. MSI may decide that reboot needed even without your consent. Wix# Reboot sample shows the (commented) techniques of controlling implicit MSI rebooting policies. Most likely you...

View Article

New Post: InjectClrDialog throw exception

The CLR Dialog injection technique is designed for a single dialog only. Injection is a valid but an intrusive technique. Thus I only planed it for a single 'gentle' insertion and if it's used any...

View Article

New Post: Saving product settings in registry

MSI CustomActions scheduling can be quite tricky. Indeed BeforeInstall doesn't change the the actual property value as it is somehow became "immutable". Though Load event works OK and the changed IP...

View Article
Browsing all 1354 articles
Browse latest View live