We are required to give a user permissions to Start, Stop, and Query status of an installed service.
In WiX 2.0, this xml would have worked:
<ServiceInstall
Id="ServiceInstaller" Type="ownProcess"
Name="$(var.ServiceName)" DisplayName="$(var.ServiceName)" Description="Our service description"
Start="demand" Account="LocalSy...
I'm using this code to return a FileContentResult with an msi file for the user to download in my ASP.Net MVC controller:
using (StreamReader reader = new StreamReader(@"c:\WixTest.msi"))
{
Byte[] bytes = Encoding.ASCII.GetBytes(reader.ReadToEnd());
return File(bytes, "text/plain", "download.msi");
}
I can download the file, ...
Suppose I have an MSI, that has .NET Framework as a pre-requisite.
I know the MSI generated from VS2008 setup project will detect when that pre-req is missing and will direct the user to install it.
Q1. Is it possible, technically, to call out to dotnetredist.exe (or, I guess, any arbitrary EXE) during the run of an MSI, to handle this...
Hi,
I have a signed PowerShell script which I want to deploy to a target machine via a WiX installer. Is it possible to give the script the execution rights?
Regards,
forki
EDIT -
It seems I have to call Powershell with --Command Set-ExecutionPolicy RemoteSigned, but I can't get it working. I see the Powershell command window openi...
How do you detect that the install is running in silent mode?
I have a custom application that I've added a .msi setup project. I run the .msi file with the /qb switch, and in my custom installer c# code I would like to be able to detect this.
Edit: nobugs says to test the UILevel property. How do I access the UILevel property from a ...
We register the capabilities of Delphi applications using TLB files. However, from reading MSDN documentation, "Installation package authors are strongly advised against using the TypeLib table. Instead, they should register type libraries by using the Registry table". Does anyone have any advice on how to do this in a 'Delphi' way for W...
Hello,
Is it possible to do nested instllations of msi's in Visual studio 2008 setup project?
Thanks and Regards
Raju
...
I want to create a installer which
would just dump few files and folders
at a location specified by user. But
the problem is these files are
required to be picked up from a fixed
source folder and then the installer
is build. Also, these files may change
any time and then again a new version
of the installer is require...
I've been playing around with Wix, making a little app with auto-generated installer and three versions to test the upgradability, 1.0, 1.1 and 2.0.
1.1 is meant to be able to upgrade from 1.0, and not to allow the user to install 1.1 if 1.1 is already present.
<Upgrade Id="F30C4129-F14E-43ee-BD5E-03AA89AD8E07">
<Up...
We are developing customized installer using visual studio 2008 installer project. The requirement which we are trying to adress is; suppose user starts installation and if already older version is available on same machine then we should promp user to upgrade the version and needs to show list of files which are new in this version.
...
I use Visual Studio 2008 Installer Project to create a MSI Installer. With the software I deploy and install a Service. I added the primary output of the service project to the custom actions (Install, Commit, Rollback, Uninstall) of the Installer. First I had problems updating the Software (Error 1001. The Service already exists).
The...
Hi,
I'm using WiX to create a windows installer. Unfortunately my installer overwrites a config file on every update.
What I really want is, that the installer only creates the file if it is not found.
Thanks and regards,
forki
...
I am working on an installer for a new version of my project (C#).
Previously, I've used Inno Setup to create .exe files for installing my projects on other computers in the workplace. While reading through some tutorials, though, I came across Windows Installer XML, which uses XML files to build a .msi installer.
My project will be av...
Is there a straightforward way to smoothly upgrade a running service using a VS2008 installer? All I want to do is stop the service and do the install. It seems this wouldn't be too much to ask.
If you invoke the ProjectInstaller's Install, and the service has been installed by a previous version, it throws an exception regardless o...
Our team has recently been considering pushing out a minor registry fix to users to modify one particular problematic key. Pretty straightforward stuff, just needed to update 1 key/value inside the registry.
So at the moment, we are using Wix to build .msi installers for the product. While looking into Wix's support for generating .msp ...
Hi ,
I was trying to create a setup project using VS2008.
Is there anyway to detect if a particular Office 2010 application is installed or not?
(as a prerequisite) .eg: i want to detect if Powerpoint 2010 is installed on client machine.
I was trying to use windows installer search option in lauch condition but unable to find
wha...
Hi,
I am trying to modify the userSettings section (Properties.MyApp.Default) in the MyApp.exe.config file during the installatio of my WPF application using an MSI installer.
I basically implemented it like in this excellent article: http://raquila.com/software/configure-app-config-application-settings-during-msi-install/
The differe...
Hi,
I'm using Innosetup as a bootstrapper for my msi setup. It packs the main mis file and other prerequisites. It works fine when we use full UI. Now i want to install the whole setup in silent mode. For InnoSetup we can give /SILENT OR /VERYSILENT. How can i pass values to msi (i.e., Unlock Key, Features to be installed etc.). If i i...
I've created an MSI that accepts several parameters in as values through the command line install.
Is there a way to include documentation in an MSI so when a user executes the MSI from the command line they can see information that I created on the custom parameters?
For example "Myproject.msi /?" would display the allowable parameter...
I built a Visual Studio 2008 setup Project wich depends on .NET 3.5. I added Prerequisites like: .NET 3.5, Microsoft office interoperability, VS tools for office System 3.0 Run time, .etc. After that Selected "Download Prerequisite from Same location as my application" in Specify install location for Prerequisite. I Built the setup and f...