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ответов
322 просмотров

install visual studio 2008 TS when I cant install windows installer?

I needed to Add/Remove some things from my Visual Studio 2008 TS installation. I ran the setup but then I got the following error: "A problem has been encountered while loading the setup components. Cancelling setup." This error is handled in the VS2008Readme.htm where they say: To resolve thi...

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...

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

Need To create MSI for SourceForge PDFCreator

I am using sourceforge PDFCreator source code & made some changes, now I want to create a installer of the same. What is the best solution suggested as I am not getting any clue/help from any forum on how to deploy the same. Thanks.

6
голосов
1ответов
1714 просмотров

Start exe after msi install but using current user privileges

I am using Visual Studio 2008 to build an MSI install package. Within the install I have numerous custom actions. Within the OnAfterInstall custom action I attempt to start an exe which is deployed by the install. The exe starts ok, but runs within a security context of NT AUTHORITY\SYSTEM (i....

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...

8
голосов
2ответов
6919 просмотров

Visual Studio: Conditionally Create Shortcuts in Setup Project?

I am working on a Setup Project in Visual Studio, and I would like the user to be able to specify whether to create a Desktop Shortcut and/or a Start Menu shortcut to the program by using checkboxes. I am able to have the installer to create working shortcuts in the appropriate locations, and I ...

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

Can a Web Deployment Project support quiet installation

I need to install a web deployment fromn a quiet installation and pass in the web directory, installation directory etc. I know that the values of the MSI are available to a custom action, but my experience is that in quiet mode these get overwritten by the default value on the GUI even when in ...

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

Microsoft Setup Projects for services and automated removal previous versions

I have an application that runs as a service. I have altered the services installer object so that I can pass setup data to it from a user input screen on the installation/setup project. This all appears to work well apart from the following points: Installation is error free UNLESS there is ...

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

Create Installers for Add-ins using Visual Studio?

I need help building a customized Installer using visual studio 2008 to install Office 2007 (add-in) tool bars that I have made. How can I create installers for Add-ins I've made?

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

Cannot install .msi package silently

I have an Office 2007 add-in (developed using Visual Studio 2005 Tools for Office Second Edition) which has been packaged into an .msi file, using the Setup project in Visual Studio 2005 The problem is that when the users install the package themselves by using Next->Next->Finish then ever...

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

dos command in visual studio installer project

i want to execute a command say "net start "servicename" from within installer, i can't use custom actions any ideas?

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
голосов
1ответов
1665 просмотров

MsiDatabaseOpenView returning 1615 (ERROR_BAD_QUERY_SYNTAX) with seemingly valid query

I'm trying to use MsiDatabaseOpenView to manipulate an .msi installer and I am receiving an error that I cannot diagnose. When invoking MixDatabaseOpenView, the method is returning the error code 1615. The method documentation indicates ERROR_BAD_QUERY_SYNTAX as a possible error result, and 161...

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

Visual Studio 2008 , Is there a way to embed a product version into MSI package

I have a solution (sln file) file that contain several projects. The sln is referring to two projects : I have a csharp project that its output is an executable assembly , along with configuration file , this project has a product version defined which increase from time to time. I have a proj...

4
голосов
3ответов
4444 просмотров

Installing files to x64 "Program Files" from x86 msi

I'm creating installer using InstallShield 2010 (basic MSI) that is having two features. First feature consists of: main .NET application compiled as x86, some native x86 third party dlls which are used by main application (x64 versions are unavailable). Second feature contains single compon...

3
голосов
3ответов
5481 просмотров

How to apply a Msi transform at uninstall?

I'm trying to fix a Windows Installer based setup that is already released. The fix is for an error that occurs when uninstalling the package. For this I'd like to provide a .mst transform file that is applied before uninstalling. Is it possible to use a transform after the product was installed?...

8
голосов
5ответов
7214 просмотров

Free MSI Authoring tools

Are there any free / open source tools that can be used to create an advanced MSI installer. I've found the following list of MSI authoring tools, however I know very little about MSI technology and its hard to tell from that list which of those tools can actually be used to create new MSI insta...

4
голосов
4ответов
7736 просмотров

How does one stop a Windows service to do an upgrade install?

I have developed a Windows service along with a setup project using Visual Studio 2008. When I do an upgrade install I get the following warning: The following applications are using files which the installer must update. You can either close the applications and click "Try Again", or click "Con...

4
голосов
3ответов
1748 просмотров

MSI Log Debug Log Sink

I have an InstallShield MSI project. When I pass an MSIHANDLE from an InstallScript custom action to a managed assembly initialized via DotNetCoCreateObject(), the value received within my managed code is -2. Does anyone know if it is possible to access an MSIHANDLE from an InstallScript cust...

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

How do I call a batch file from an MSI

I have an msi installer that needs to call a few batch files to finish the install procedure. The batch file copies extra files from the installer to a few directories and then modifies permissions on several of those directories. We want to continue using the batch files because there is not a l...

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...

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...

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

Replacing DLL in Windows Installer Project

I have a Windows Installer project built for my VSTO add-in. However, I have to run one of my DLLs through an obfuscator at the end, but if I try to build the setup project with the modified DLL, it just rebuilds my original DLL and overwrites the modified one. Is there a way I can build the se...

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
голосов
1ответов
1190 просмотров

How to prevent msi error 2335 when modifying installed product?

I'm creating a msi based installer (using InstallShield) that has a custom action to start a nested install. The custom action is of type 23, the Source field refers to the second msi that is located on the source media, and the Target field contains "ALLUSERS=[ALLUSERS] ADDLOCAL=ALL". The custom...

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...