Wix install to multiple remote machines - wix

I'm new to Wix and am wondering if there's a way to install files to several machines that are all on the same network from a single MSI?
The installer would prompt the user for all the machine names and then the installer would install on each of the machines.

Microsoft Active directory's Group policy is used exactly for this. For tutorial see for example this link.

Related

Advanced Installer VSTO Add-in Deployment to Entire Machine not working

I'm using Advanced Installer to try to create an installation package (single EXE setup file) for an MS Project VSTO add-in. I need the installation Type to be Per Machine but when I chose this option and run the setup.exe file, the Add-in will not load for any of the user's on the target machine. The only way I can get it to load is if I change the installation type to Per User, which I don't want.
I'm fairly certain the problem is related to the registry, because the setup.exe is not adding the proper registry keys under HKEY_LOCAL_MACHINE to load the add-in, even though I have it set up to do so:
What am I doing wrong?
There are other things that needs to be done except windows registry keys. For example, you need to specify whether you want to support per-user or per-computer installations.
The Deploy an Office solution by using Windows Installer article describes all the necessary steps for creating per-use and per-machine Office add-in installers. Make sure that you did everything in your installation package.

Why would a WiX installation create two entries in HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\

I'm trying to uninstall an older version of our product which was installed using a WiX-built installer and after uninstalling it silently:
msiexec /x{GUID}
the program still appears in Control Panel. I've opened a separate item to
explore that mystery, but another curious issue has popped up. I noticed that after running the install for this program, two entries (GUIDs) are added to HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall. One with the product GUID and one that I have no idea where it comes from. I've searched through the .msi and it's not in there. Both are created each time I install, both are removed if I uninstall from the Control Panel and both are left in the registry if I uninstall from the command line. So have a look
Anyone have any ideas what's going on here?
Embedded Setup.exe: In essence it looks like you are installing an MSI that also installs an embedded non-MSI setup.exe via a custom action as part of its own installation sequence. Or, there is a setup.exe launcher that kicks off the MSI and the legacy setup in sequence. Result: two entries in Add / Remove Programs.
Uninstall: It is obvious, but to get rid of the second entry you must run its uninstall sequence - in addition to the uninstall of the MSI. Non-MSI setups are less reliable when it comes to uninstall than MSI packages. The implicitly available uninstall for all MSI packages with reliable silent running is one of the core benefits of MSI: MSI Core Benefits (among other topics).
Uninstall Commands: Try running the silent uninstall string, I guess that is what you have done?
Run commands elevated! With admin rights!
REM Uninstall MSI
msiexec.exe /x {PRODUCT-GUID} /L*v C:\MySetup.log /QN
REM Uninstall legacy setup.exe
"%SystemDrive%\ProgramData\Package Cache\{c5f0cb3e-1de3-4971-843a-abb981ed670c}\MDRSetup.exe" /uninstall /quiet
Silent Running: To run legacy setups silently you sometimes have to record a "response file" to record all settings in the GUI and pass to the uninstall process. I have some previous answers on this. You also need to run with admin rights:
Create MSI from extracted setup files
Regarding silent installation using Setup.exe generated using Installshield 2013 (.issuite) project file
How to run an installation in /silent mode with adjusted settings
Application Repackaging: What is the name of the software you are installing? MDRSetup.exe, is that Max Data Recovery 1.9? Probably not. Getting rid of legacy software can be challenging. You can always try to re-package it as an MSI if you have the tools to do so, or maybe you have a team in your company to do so (all large companies tend to). Not all legacy setups can be repackaged. There could be constructs that are impossible to capture, such as certain drivers, generated and unique keys per machine etc...
Links:
Create MSI from extracted setup files
How can I use powershell to run through an installer?
Wix - How to run/install application without UI
Capturing all changes during an application install on Windows

Running a Windows Installer inside another Windows Installer

I'm looking to create a Windows Installer package that will run an exe that runs another Windows Installer.
I'm putting a package together that has to install three files, an EXE, a CONFIG and an empty TXT. In addition, we also need to run the Access Database Engine 2007 as part of this process. However, when setting custom actions to just run it (with the flag /quiet) it fails because it's attempting to run an MSI inside of an MSI.
Is there any way I could somehow have it launch right after/right before or something? I've looked into WIX but honestly I'm clueless on how it would solve the problem.
Thanks.
You should look at the WiX Burn functionality and prerequisites. Some examples are:
WiX - Install Prerequisites and 3rd party applications
http://www.c-sharpcorner.com/UploadFile/cb88b2/installing-prerequisites-using-wix-bootstrapper-project-and/
You could probably just run the setup from the Burn bootstrapper - it will do its own detection if it's already installed.

VSTO add-in silent installation

I've developed a VSTO addin with VS2012 signed by a DigiCert certificate. I need to deploy it to all the Enterprise users so the installer shouldn't prompt the user because it will fail since all the installation process is silent.
I'm not able to do it since it always ask the user if it should or shouldn't install. If I set VSTOInstaller /S it doesn't install 'silently'.
Is there any way to do this?
Thanks on advanced.
I found the answer. To solve this you have to install the public key certificate in your installer:
certutil -addstore TRUSTEDPUBLISHER "yourcertificate.cer"
Then, you just use VSTOInstaller:
VSTOInstaller.exe /I "youraddin.vsto" /S
That's all folks!
Yes you can.
Just Uncheck the ClickOnce manifest CheckBox and Check the signing the assembly using any .snk file.
You will need to create installer project and the rebuild the installer project will provide you the .msi and .exe file you can execute the following command on command prompt(Administator).
Though rebuilding of installer project will automatically check the ClickOnce checkBox but you can ignore that.
Below is the link for creating Installer project for AddIn.
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/ff937654(v=msdn.10)
Looks like you need to GPO for deploying the software (using MSI installers).
How to use Group Policy to remotely install software in Windows Server 2008 and in Windows Server 2003
How to use Windows Installer and Group Policy to deploy the VPModule.msi in an Active Directory domain
Installing Software Using GPO
Also see the Deploying an Office Solution section in MSDN.

Apache Server Install No .msi installer

I am trying to install apache server from this Link using the NetWare Binary: httpd_2.4.3-netware-bin.zip link to be precise, I was looking at the internet for a good guide Not using the .msi installer becouse there is no .msi installer at the folder i unzip after i downloaded the zip file from the link above, And becouse i want to learn how to install not using the .msi installer at all, So if anyone know a way to install the apache server not using the .msi installer i will be very thankful, Thank you all and have a nice day.
Since you are looking for a msi installer, you probably want the win32 version and not the NetWare one. Pick the appropriate one from here: http://ftp.download-by.net/apache//httpd/binaries/win32/
If you want to install without a msi, you still don't want a NetWare version if you are running Windows.
You can read more about the NetWare operating system here: http://en.wikipedia.org/wiki/NetWare
More easy install Xammp you have allinone solution for win 32/64 with php version 5.6.3 embed
with:
Backup and Restore MySQL Databases
Configure FTP Access
Configure Virtual Hosts
Configure Wildcard-Based Subdomains
Deploy an Application Using Git
Get Started Quickly with WordPress
Reset the MySQL Root Password
Send Mail with PHP
Troubleshoot Apache Startup Problems
Simple and cool isn't it ??