windows-installer

WiX EmbeddedChainer Examples?

半腔热情 提交于 2020-01-14 11:29:52
问题 With Windows Installer 4.5, there was a new table added for MsiEmbeddedChainer Table. This table was supposed to allow multiple-package installation. WiX added support for the table by creating the EmbeddedChainer element. I've read the wiki, but are there any examples on how to use the element? I'm attempting to install a JRE before my program. 回答1: Embedded chainers only work after the installer that contained them is installed, and can only install raw .msi files (.msi files with their own

WiX EmbeddedChainer Examples?

主宰稳场 提交于 2020-01-14 11:27:07
问题 With Windows Installer 4.5, there was a new table added for MsiEmbeddedChainer Table. This table was supposed to allow multiple-package installation. WiX added support for the table by creating the EmbeddedChainer element. I've read the wiki, but are there any examples on how to use the element? I'm attempting to install a JRE before my program. 回答1: Embedded chainers only work after the installer that contained them is installed, and can only install raw .msi files (.msi files with their own

why two shortcuts after Major upgrade (migration)?

末鹿安然 提交于 2020-01-14 09:42:10
问题 We are using WiX for our windows installation. We were supporting major upgrade without any issues until recently. I was asked to change the shortcut name as we changed our product name. So i changed it. After a major upgrade, 2 shortcuts are being displayed instead of one. The beauty is while we are installing all the feature migrated in same machine ,it deleted the old shortcut properly it seems. But when we are installing one of the features (webserver feature ) in (webserver) machine, 2

MSI Installer error 2810 interrupts installation, but still let's it finish with no problems

杀马特。学长 韩版系。学妹 提交于 2020-01-14 02:40:48
问题 I have a setup created that installs an application, and still does, but it started giving a strange warning at the end out of the blue. So, when the installation process finishes, the following appears: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2810. So I checked 2810, and it says: On the dialog [2] the next control pointers do not form a cycle. There is a pointer from both [3] and [5] to [4]. I

MSI Installer error 2810 interrupts installation, but still let's it finish with no problems

时间秒杀一切 提交于 2020-01-14 02:40:06
问题 I have a setup created that installs an application, and still does, but it started giving a strange warning at the end out of the blue. So, when the installation process finishes, the following appears: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2810. So I checked 2810, and it says: On the dialog [2] the next control pointers do not form a cycle. There is a pointer from both [3] and [5] to [4]. I

hide textboxes on checkbox checked in WiX

喜欢而已 提交于 2020-01-13 10:46:27
问题 Is it possible to hide textboxes on checkbox checked in WiX? 回答1: Thanks for your comments, the first comment helped me. It is done like this: <Control Id="LoginTextBox" Type="Edit" Text="CM2" Height="17" Width="200" X="150" Y="198" Property="Login"> <Condition Action="hide" >CreateDBUsers&lt;&gt;1</Condition> <Condition Action="show" >CreateDBUsers=1</Condition> </Control> 来源: https://stackoverflow.com/questions/5500786/hide-textboxes-on-checkbox-checked-in-wix

Trying to find the MSI product code for Java 8 Update 25 in to work with WSUS Package Publisher

半城伤御伤魂 提交于 2020-01-13 07:14:29
问题 I'm trying to create a 3rd party custom update through WSUS Package Publisher however I can't manage to get the MSI code for Java as there is no MSI installer to use MSIReader on. If anyone knows how I can find this code then it would be much appreciated. It's managing to make me look bad as a Sys Admin at work. Cheers, Glympse. 回答1: Two solutions : Install the product and search in : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Or to be aware that Oracle always used

Trying to find the MSI product code for Java 8 Update 25 in to work with WSUS Package Publisher

…衆ロ難τιáo~ 提交于 2020-01-13 07:14:09
问题 I'm trying to create a 3rd party custom update through WSUS Package Publisher however I can't manage to get the MSI code for Java as there is no MSI installer to use MSIReader on. If anyone knows how I can find this code then it would be much appreciated. It's managing to make me look bad as a Sys Admin at work. Cheers, Glympse. 回答1: Two solutions : Install the product and search in : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Or to be aware that Oracle always used

silently execute a MSI package from C#

寵の児 提交于 2020-01-13 06:43:34
问题 Newbie question, let me try and make this as clear as possible. I have a program that needs to silently execute a msi package (well multiple but that's not the problem) The MSI packages are contained in a folder located in the same directory as my program. I've given it a simple name of "InstallFiles" for the time being. I'm not keen on using the full path name eg. C:\my program\another directory\another directory etc because it'll be put on multiple PC's, old and new, in which case the drive

Remove file and folders on uninstall

谁说我不能喝 提交于 2020-01-13 05:16:08
问题 I am learning WIX to build installer for my app but I am stuck with removing files. My question is how can I remove files and folders on uninstall. When I click on remove button, all the files and folders which the installer created doesn't remove on uninstall. 回答1: The answer is in the comments above but for future reference there are two things to check first when files are not being removed: Ensure that you do not have Component/@Guid="". In Specifically setting to an empty string (Guid=""