What I believe to be a common occurrence is for Install4j to be used to generate both an installer as well as an uninstaller. From what I've seen, the installer can be used to reinstall/reconfigure the installed application.
On Microsoft Windows, the uninstaller gets registered under the Programs and Features > Uninstall or change a program item in the Control Panel. Is it possible for that uninstaller to be used to 'change' the installed application, rather than uninstall it? For some users of Windows, this might seem more natural than running the installer again, I suspect.
As of 10.0, install4j does not offer such a feature. You can add additional installer applications to run additional actions, but the "Install files" action can only be run in the installer.
I've downloaded the MySQL installer and tried to run it. On the Check Requirements, MySQL Workbench 8.0.20 is listed. I clicked and got this message in the requirement:
Microsoft Visual C++ 2019 Redistributable Package (x64) is not installed. Latest binary compatible version will be installed if agreed to resolve this requirement.
I click Next and I get:
One or more product requirements have not been satisfied.
I click Yes, and MySQl Workbench is not listed. How do I install?
The intuitive thing is to go to https://dev.mysql.com/downloads/workbench/ and select the
Windows (x86, 64-bit), MSI download.
However this failed for me with VS C++ 2019 Redistributable required even after installing the latest version (2015-2019).
So I clicked on
Go to Download Page button which took me to:
https://dev.mysql.com/downloads/windows/installer/8.0.html
and selected the 2nd, larger download (the 435MB file at this writing)
Although this is labeled (x86/32-bit), don't be fooled. It includes both versions and will install the 64 bit version on a 64-bit machine.
The following link will download the current installer as of 6/23/2021:
https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community-8.0.25.0.msi
If you are installing significantly later than 6/23/2021, I suggest you start at
https://dev.mysql.com/downloads/workbench/
to get the latest version.
Update 2023: The installer has a button to "download prerequisites" that opens https://dev.mysql.com/downloads/workbench/
From there get the MySQL Installer and hit next to go to step 2. There, you can select only the "ODBC Connector" that will also include the redistributable. It is far smaller than the whole MySQL db install (e.g. 20Mb).
I had the same problem when trying to install the 35mb 64bit version. Kept coming back with requiring Visual C++ 2019...
Poking around found that if I went back to the install page and looked around the 32bit version of MySQL, there are two other installs. I chose to install the 405mb MySql Workbench 8 32bit and was able to install successfully. Albeit, mine was an upgrade from 6 to 8.0.20.
Uninstall the previous MYSQL and download the (Windows (x86, 64-bit), ZIP Archive
Debug Binaries & Test Suite) 499Mb version, when the error prompts on the screen simply hit No and execute. If the error persists, you might want to to download Microsoft Visual C++ 2015-2019 Redistribution manually and then continue the installation again.
Install Microsoft visual C++ X86 or X64 from this link ( https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 ).
For those seeing this later, I had the same issue with a fresh install of Win11, new PC, and trying to get 8.0.3.1 WB, and got the same dependency error on VC++ 2019. I followed all the same guidance above, and on other threads but it didn't work. The WB installer didn't recognize the VC++ redist pack as being installed.
I went to my old PC, found the old version of VC++ redist, and installed it....voila, WB would install. I used VC++ 14.30.30708, and it worked fine. As of this writing the current version of VC++ redist from the links above, was 14.34.31931
Hope it helps someone.
Few machines have 'MyApp.exe' installed using ClickOnce. And I have created a new MSI Windows Installer for 'MyApp.exe' using MS Visual Studio 2013 Setup and Deployment. I have a requirement that when my new MSI Installer runs it has to automatically remove/uninstall all previous 'MyApp.exe' (installed using ClickOnce) and install the new exe. Installer has to do it as part of its installation process.
Is this even possible? ClickOnce doesn't make any registry entries, so how can I get the Upgrade codes/Product codes which I can feed to Windows Installed 'Upgrade Paths' to upgrade it. ClickOnce is per user installation, but Windows Installer is not.
Is it even possible for Windows Installer to uninstall ClickOnce installed application ?
Any help is greatly appreciated. Thanks
ClickOnce is a per-user deployment experience and MSI is usually a per-machine experience. Per machine can't clean up other people's profiles. The only way I know is to do an active setup trick to run a program for each user who logs on and then execute a script to do cleanup. Either that or put first-run code in the applicaton itself to do the same.
I got a problem that my add-in not work in Win7, due to the add-ins is a policy program in company, so it's required to be install for all users and run every start-up.
In WinXP era, the add-in work using SetSecurity library by installer but it's not work in Win7 now, I have tried to re-create a deployment package of installer but it still unable to load.
I tried ClickOnce is work but if the program hasn't been install, it will prompt for ask install, due to the add-in is policy program which is required to run everytime, so it's not allow user to skip install.
I tried use microsoft add-ins example but tested it will prompt for ask install too.
Could anyone can help please?
Thanks.
Solved by apply hotfix in KB976477 Office 2007 with EnableLocalMachineVSTO registry setting.
Reference: http://support.microsoft.com/kb/976811
Does anyone know how to install a Vista UPGRADE edition to a virtual machine? Id like to use it for testing with older versions of .NET, but it wont let me install the upgrade version. I'd rather not have to install XP and then Upgrade it. Its a licensed legal copy with CD-Key and all. It just wont install to an empty VM because its an Upgrade version.
Thanks
WARNING: The following does violate your EULA
Install Vista without using a serial number and choose the basic edition and also unselect auto activate.
After install, reinstall and now you can use your serial number and perform an upgrade.
See Paul Thurrot's site for more in depth information.