Wixsharp: Add Remove icon

Created on 17 Mar 2018  Â·  5Comments  Â·  Source: oleg-shilo/wixsharp

I can set the add remove icon in Wix Installer. How do I do it using Wix sharp?

question

Most helpful comment

Hi Laz,

OK, I understand now. :)

You will need to use ControlPanelInfo object for that. Have a look at "ProductInfo" sample:
C# project.ControlPanelInfo.ProductIcon = "app_icon.ico";

how do you configure it to check for a version of dot net framework and download it if not installed in the user machine.

You may want to use bootstrapper for that. See "Samples\Bootstrapper" folder for the samples.

The task of installing a dependency package from the MSI setup is impossible because of the MSI installation atomic nature. Thus it has to be done from an external application that chains multiple packages together - Bootstrapper. WixSharp provides the interface to WiX Bundle bootstrapper solution.

You can find the Wiki article on the matter here: https://github.com/oleg-shilo/wixsharp/wiki/Deployment-scenarios#burn-bootstrapper

All 5 comments

Can you elaborate? What exactly do you mean by "set the add remove icon"?

The most common deployment scenarios can be found in the samples folder of the distro. AllInOne sample is a good starting point.

Hi Oleg
Many thanks for getting back to me when I used to use Wix I could point it to an icon to use for add-remove. This icon then appears in control panel instead of the normal windows icon. I think it was something like This icon is different from the one I am able to set using project.ManagedUI.ico = "path to bmp"
There is no property in wix # to set the add-remove icon that would appear in control panel.
By the way I believe wix# is awsome. how do you configure it to check for a version of dot net framework and download it if not installed in the user machine.
I will be great to have a book written about wix #
Thanks
Laz 

Hi Laz,

OK, I understand now. :)

You will need to use ControlPanelInfo object for that. Have a look at "ProductInfo" sample:
C# project.ControlPanelInfo.ProductIcon = "app_icon.ico";

how do you configure it to check for a version of dot net framework and download it if not installed in the user machine.

You may want to use bootstrapper for that. See "Samples\Bootstrapper" folder for the samples.

The task of installing a dependency package from the MSI setup is impossible because of the MSI installation atomic nature. Thus it has to be done from an external application that chains multiple packages together - Bootstrapper. WixSharp provides the interface to WiX Bundle bootstrapper solution.

You can find the Wiki article on the matter here: https://github.com/oleg-shilo/wixsharp/wiki/Deployment-scenarios#burn-bootstrapper

Thanks very much Oleg I really appreciate the help
Laz

Hi Oleg
I have a project that has worked perfectly well and now when I build

Any idea?
I appreciate your time
Laz ===================================Laz Temimi Automation & Control Engineer Tel.: 01733 810 068 Mobile: 07810 714 788 ===================================

On Sunday, 18 March 2018, 12:03, Oleg Shilo <[email protected]> wrote:

Hi Laz,OK, I understand now. :)You will need to use ControlPanelInfo object for that. Have a look at "ProductInfo" sample:project.ControlPanelInfo.ProductIcon = "app_icon.ico";
how do you configure it to check for a version of dot net framework and download it if not installed in the user machine.
You may want to use bootstrapper for that. See "Samples\Bootstrapper" folder for the samples.The task of installing a dependency package from the MSI setup is impossible because of the MSI installation atomic nature. Thus it has to be done from an external application that chains multiple packages together - Bootstrapper. WixSharp provides the interface to WiX Bundle bootstrapper solution.You can find the Wiki article on the matter here: https://github.com/oleg-shilo/wixsharp/wiki/Deployment-scenarios#burn-bootstrapper—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ayman-eltemsahi picture ayman-eltemsahi  Â·  4Comments

Eagle3386 picture Eagle3386  Â·  6Comments

marcobeninca71 picture marcobeninca71  Â·  4Comments

UweKeim picture UweKeim  Â·  5Comments

empz picture empz  Â·  3Comments