can 'Program and Features' uninstall to call External UI? - wixsharp

Is it possible to get the uninstall request from 'program and features' to call the External UI?
I want to add some uninstall options. At the moment, a basic prompt appears and the pre uninstall actions file, but it is possible to return to the External UI?

Related

Wix: If the app is running and uninstall the app is called then it doesn't give an option to close the application

If the application is running and user tries to uninstall the application then it doesn't give an option to close the application like it use to give for normal wix. This problem has occurred only after I moved to bundle project. Any step to be performed?
Earlier it use to give The following application should be closed before continuing the install:
There are a few things to look at:
If your bundle uninstalls the MSI product completely silently then the uninstall will obey that rule and will not offer any files-in-use dialogs.
Windows Installer sometimes decides not to force the user to shut down the app if it can be process isolated and cleaned up when the user finishes.
A verbose log will give more detail.
WiX has the CloseApp help for closing down apps, and integrating the app with Restart Manager can also help these situations.

Build a (custom) module in Odoo OpenERP

I have downloaded the source code of Odoo (previously OpenERP) and installed OpenERP. I wanted to know how can I create new module, build it and install it (on Windows) when I don't have the Update Module List.
Take a look at this doc. This is in new api version 8.0
Odoo documentation
To build an Odoo module please Have a look here Which is the Basic Odoo Documentation to builds a new addon. To update Apps list after building the addon after restarting the server you have to follow below methods according to the versions so that you can customize it.
Odoo V8
Go to settings -> Users -> Check the Technical Features.
Update Apps list and Install custom add-on.
Odoo V9
click on About, will open wizard
Use active developer mode and then Update Apps list and Install custom add-on.
Odoo V10
Goto Settings -> Activate developer mode and then Update Apps list and Install custom add-on.
After Updating the module list you can see the custom add-on.
First of all place your module into addon folder of your odoo installation
Log in as Administrator
got to settings - users - Administrator
click on Edit
Check Technical properties
Save and refresh your browser
Go to Settings - Modules - Refresh module list
Click on Refresh
If everything went well you will see your own module within the list
Ensure you have technical features enabled for your user in the access rights section.
Once you have enabled it, logout and login again and you should see Update Module List menu item
As a matter of first importance put your module into addon envelope of your odoo establishment
When you have empowered it, logout and login again and you ought to see Update Module List menu thing. An other way to odoo erp customization
Sign in as Administrator
got to settings - clients - Administrator
tap on Edit
Check Technical properties
Spare and invigorate your program
Go to Settings - Modules - Refresh module list

Silent Installer For Windows built via Inno Setup [duplicate]

This question already has an answer here:
How to make the silent installation by using Inno Setup?
(1 answer)
Closed 8 years ago.
I have a installer for my program that has been built using INNO Setup. I want to convert this installer to silent installer/unattended installer, such that the user doesn't have to enter anything and the files gets extracted to a predefined location.
I have done my homework and found out that it can be done via command line parameters, but I don't expect my user to go through all the pain.
I just want an exe, which on double click should install my application. Is it possible to enter some parameter in the INNO script to make the installer as silent ? (I didn't find any pointers to this)
Any help is appreciated :)
You should change your requirement.
It doesn't matter whether AVS declare it as suspicious or not, users will in general consider something malware if it performs drive-by-installs without letting them know about it. It is not "hassle" for users to confirm they want to install when they run the installer -- and that is all that Inno requires for a non-silent install.
You can skip every page in Inno except one in a non-silent install. You can decide whether that one is the welcome page (just shows general intro text), the ready page (shows information about where it will be installed), the dir selection page (to let them choose where to install), or even a custom page. Inno doesn't mind which single page you want to show, as long as you show at least one.
The only case where it is acceptable to jump straight to "installing" without any preamble is when the installer is being run from another program at user request (eg. your application found an updated version of itself, asked the user if they wanted to install it, then downloaded and ran the installer). In this case, the parent application should be using the command line to request a silent install.

How to install Modules in Orchard CMS

I'm trying to use the FeaturedItemSlider Module in Orchard CMS, which has already been installed and enabled. How do I use this module after all this is done? I don't see it on the left hand navigation pane in the admin dashboard and, to be honest, I don't actually see any of my installed modules there. How do I use modules once they are installed?
If you see no menu items for modules that you know should have items (and you should see one for that module called "Featured Items") then I would start by checking the log. There are a few scenarios that I have seen in the past where the module crashes out during enabling, but the module still says that it activated successfully.
Did you enable via command line or the Admin interface. If admin interface, did you get the screen after pressing enable offering to activate the feature?
I would start by checking the log for when you activate the module. It may provide you access to an error message that the orchard UI is hiding.

Create a bootstrap that passes arguments to the msiexec

I need to create a bootstrap for my WiX project I've tried using setupbld.exe but it will only allow me to create an executable that will show my UI or one that will behave as a silent installer but not both.
I need to be able to run the resulting executable with argument that will tell it wether or not to show the UI during installation.
I've found this post by John Robbins that explains how to re-build the setup.exe stub used in the creation of the bootstrap but I was hoping there is a simpler way to do what I need.
Does anyone know of a way to create a bootstrap that I use to run either as a simple (with UI) install or as a silent install.
I've seen dotNetInstaller recommended on the WiX mailing list a lot, should be a lot more flexible than setupbld.exe but I haven't used it myself.
Update: If you've got budget to purchase software, try the bootstrapper that comes with MSI Factory (the demo just displays a nag screen before launching the bootstrapper). We use this ourselves and it's been worth every penny.
AT the end I've used 7zip to zip the MSI in a self extracting archive.
You can add a "config" file to let 7zip which files to run when opening the executable.
Check out 7zip's manual for more details.