Все вопросы: [wix]

289 вопросов

похожие теги: wix-guiwix-extensionwix-iisextension
10
голосов
2ответов
5521 просмотров

How do you copy a set of files to multiple places using Wix?

I'm trying to make an install that puts a copy of the same files in multiple places... is there a simple way to do this? eg. if I wanted to put a.txt b.txt c.txt into all of the following directories :- .\Blah\ .\Txts\ .\Examples\

0
голосов
2ответов
650 просмотров

Redistributable failing in Vista

I am using the following code in my Wix Installer. <DirectoryRef Id="TARGETDIR"> <Merge Id="CRT" Language="0" SourceFile=".\resources\Microsoft_VC90_CRT_x86.msm" DiskId="1" /> <Merge Id="ATL" Language="0" SourceFile=".\resources\Microsoft_VC90_ATL_x86.msm" DiskId="1" />...

0
голосов
1ответов
1894 просмотров

TrustedInstaller is preventing registry writes to HKCR\DirectShow\MediaObjects\Categories

I'm trying to install a DMO which requires me to write to HKCR\DirectShow\MediaObjects\Categories7f2db8b-e6bb-4513-9d43-dcd2a6593125, this registry path is protected by TrustedInstaller and it seems that this protection is new in Windows 7 (it work on previous platforms). How am I suppose to ins...

55
голосов
8ответов
230907 просмотров

Extract MSI from EXE

I want to extract the MSI of an EXE setup to publish over a network. For example, using Universal Extractor, but it doesn't work for Java Runtime Environment.

9
голосов
5ответов
3269 просмотров

WiX "Major Upgrade" doesn't completely install app on downgrade

Currently all upgrades work fine whenever updating to a newer version number, however I'm getting an odd behavior when downgrading. It seems that it'll uninstall the existing version and then partially install the version that I'm trying to install, the main exe doesn't exist in the target locat...

0
голосов
1ответов
430 просмотров

WIX/DTF - Dialog with a list, edit field and add/remove buttons on it

Anybody knows a good source to get an idea how to create this kind of a dialog? I'm well aware that I'll need to write some CA's for that but relatively new to WiX (used to work with InstallShield). TIA!

62
голосов
5ответов
41207 просмотров

What installation product to use? InstallShield, WiX, Wise, Advanced Installer, etc

I'm currently doing some investigation on moving off of the installation package we currently use (Wise Installer 9) and moving to something that will handle things like Windows Vista, Windows 7 and 64-bit systems. Localization of the installers would be of benefit since we do have a number of Fr...

3
голосов
5ответов
11140 просмотров

Wix to Install multiple Applications

I probably have a strange request. I have develop a msi to install two softwares. After the EULA a screen with two checkboxes must come and on selection of either or both of these checkboxes the corresponding softwares have to be installed. I have used to install a single software earlier never...

2
голосов
2ответов
2677 просмотров

Stopping display of custom dialog boxes in WiX uninstall

I have a WiX installer project that utilises a custom dialog box to ask for parameters to update a web.config file and run a database script on install. Everything works correctly and the application is installed and runs correctly. However, the custom dialog box is also displayed when I uninst...

3
голосов
2ответов
4445 просмотров

WiX set App_Data folder permission to modify for NetworkService

I'm struggling with this one. I need to set the permissions of the App_Data folder in an ASP.Net site to Modify for the NetworkService account via my Wix installer. I tried the following but with no luck. <CreateFolder> <util:PermissionEx GenericAll="yes" ChangePermission="yes" Delete...

4
голосов
2ответов
4222 просмотров

How to Bootstrap SQL Server 2008 Express SP1?

I am trying to bootstrap SQL Server 2008 Express SP1 into my application. Previously I used Wise for Windows to perform the prerequisite installation, but Wise doesn't support Windows Installer 4.5 yet. I am now trying to use the Visual Studio 2008 bootstrap technology with WiX 3.0, and have ha...

1
голосов
1ответов
450 просмотров

How do I add an environmental variable, but not remove it if it already existed with WiX?

Right now, I can add an environmental variable on install with the Environment tag in WiX. Here's an example: <Environment Id="LibPath" Action="set" Name="PATH" Part="last" Separator=";" System="yes" Value="[I...

8
голосов
3ответов
2450 просмотров

Launch x86 or x64 MSI from MSBuild bootstrapper

So I have a WiX based MSI that installs a handful of device drivers and therefore I have an x64 and an x86 version. The package also has a .NET 3.5 dependency so I'm generating a bootstrapper to do this and then launch the MSI. My question is if anyone is aware of a way to create a bootstrapper t...

1
голосов
2ответов
1284 просмотров

Service Not Able to See Environment Variable

I created an installer (via WiX) that, as part of the installation, installs a Windows service (written in C#), and starts that Windows service. The service is a FileSystemWatcher and watches for the installation of plug-ins to a specific directory. Originally, it used an environment variable (...

2
голосов
1ответов
251 просмотров

Wix UI for Installing Web sites

Anyone have a WiX UI sequence for installing an ASP.Net Web site? Something that asks for a virtual dir, and app name similar to what the Visual Studio install projects do?

2
голосов
2ответов
2300 просмотров

Installshield vs Wix vs NSIS for website and windows services deployment?

the company I work for is looking at different options for installers. The product consists of a ASP.NET web site, some web services, and windows services. We'd like to be able to install everything in one go, but be able to uninstall or update services individually. We'd also like to be able ...

10
голосов
1ответов
10711 просмотров

WiX ServiceInstall - setting the service to run as the current windows user

I am installing a Windows service using WiX. How can I make the service run in the context of Windows User that runs the installer?

4
голосов
1ответов
5065 просмотров

Wix: Merge Module with multiple wxs files

So, I am trying to create a merge module where I have multiple wxs files. I thought that everything was OK since the build of my project succeeded. Later, I realized that the path used in Source attribute for one of the secondary wxs files was completely wrong but the compiler didn't give the fol...

0
голосов
1ответов
217 просмотров

Where do I set the license text in Visual Studio 2008 Setup project?

When I run the Output of my Visual Studio 2008 Setup project (*.wixproj), the install wizard displays a license. Where do I change the text displayed? I have searched all *.wxs files, but cannot find the license displayed. Also, a hint on where to find information on this stuff would be really ...

1
голосов
1ответов
397 просмотров

WCF in a windows service

I have a windows service that exposes a TCP connection (using WCF). This service starts and works fine on my machine (which uses windows firewall). My colleagues are using mcafee security software (which includes a firewall). When they start the windows service it works some of the time, but the...

0
голосов
2ответов
723 просмотров

Wix doesn't remove its files if I remove mine

I have a Wix installer which installs and removes fine if I don't execute my custom actions. But if I do execute them then my custom action does its job, and the uninstall does succeed, but all of the files installed remain in the program files application directory. On install, my custom action...

4
голосов
2ответов
2027 просмотров

Step-by-step ngen with Wix 3.0

We use Wix to build an installer for our .NET application and are just in the process of porting to Wix 3.0. Our application includes several .NET assemblies (as is the way with .NET applications) and the final installer step is to ngen these. This is important as our application takes about twi...

1
голосов
1ответов
586 просмотров

Component GUID in Wix

I have a .net dll that is shared by 2 applications of mine, client and the server. I do not know where the files will be installed as user chooses the install and he may only install client or both client and server. I have component on both server and client wix and it contains only the shared...

1
голосов
1ответов
501 просмотров

How do I dynamically set a file source based on a property in WIX?

We have four regions (dev, test, qa, prod) that all require environment specific config files. I am trying to develop a WIX install that will accept a property assignment from the msiexec command line and dynamically set the file source of a config file. I've tried just about everything and rea...

0
голосов
2ответов
1045 просмотров

How do I execute file installed by merge module?

I am using WIX and have successfully used a custom action to execute installed file at the end of installer like this: <CustomAction Id="LaunchAfterInstall" FileKey="foobar.exe" ExeCommand="parameters" Execute="immediate" Impersonate="yes" Return="asyncNoWait" /> <Property Id="WIXUI_IN...

4
голосов
2ответов
460 просмотров

How can I upgrade Windows Installer from inside an MSI (using WiX)? Is it possible?

I've currently got an .exe that bootstraps a bunch of prerequisites (NET3.5, hotfixes, ...), including upgrades to Windows Installer (I need 3.1), and then finally runs my msi. I'd like switch this to have an .msi that does everything, and calls an embedded binary for each prereq. Hopefully thi...

3
голосов
1ответов
5037 просмотров

How to determine if a registry key exists in Wix

I want to determine if a Registry key exists in Wix. I cannot make any assumptions about value names in that key, but at least one exists. Default value is not set. Is it possible to check if the key exists (and optionally, if it has any values) without using custom actions?

8
голосов
1ответов
1581 просмотров

Is there a way to speed up WiX builds?

I've built an installer using WiX 3.0. The installer contains additional installers that can be run to add functionality at a later time. The "sub" installers are large-ish (totaling ~200MB). WiX builds were around a minute until I added these "sub" installers and then times increase to about 11 ...

12
голосов
3ответов
8148 просмотров

Forcing an upgrade of a file that is modified during its initial installation

I'm working on the upgrade feature for my WiX-based installer. As part of the instalation, we are installing a web.config file and then using a custom action to update the connection strings inside the file. But this causes a problem when we run our upgrade. We would like to have the RemoveExi...

4
голосов
1ответов
5237 просмотров

wix product id should be autogenerated for patch number changes?

I use wix for building a setup for a product. The product has version of the format major.minor.patchnumber Example: 4.5.1313 in each build the last patchnumber keeps changing like 1314, 1315 and so on. I would like to know whether I should keep the id attribute in the product element as a...