msi

Make Trusted MSI Setup Project in Visual Studio?

I have both VS2008 and VS2010 Setup projects that create .MSI files. On server 2008, I get warnings that the apps are not "trusted". How can I bake-in trust for the apps I build with Visual Studio? Thanks. ...

How to move a ProjectName.vdproj to a different directory?

Hi, I have a setup project which I would like to move to a different directory. I have found a way to change where the MSI files will go to, but I'm struggling to find a way to move vdproj files. Thank you ...

Setup MSI Project for WCF Web Service

I'm working with a co-worker on this, will try on my own machine shortly, but wanted to get the question posted quickly. I've also been Googling for step-by-step "how to setup for WCF service" and not finding anything on target. I've done it before at a prior company, but forgetting the details now. Are .SVC files automatically inclu...

Setup Project for WCF - how to add "Select Installation Address"

We have an MSI created by a programmer that left. It has a "Installation Address" dialog box. When I create a new default setup project, I have an "Installation Folder" dialog box. The "Install Address" dialog at install time says "Select Installation Address" and allows the person doing the install to select the application pool. ...

Msi: Can dword values in Registry Table expressed in hexadecimal number?

Preceding registry value data by a number-sign (#) causes the value interpreted as a dword in decimal number. This is OK and I have no problem with it. I'm just curious, is there a way to express it in a hexadecimal number. Thanks in advance. ...

MSI installer for .Net free or low cost!

Hi I'm looking to deploy my first .Net 4.0 app. I know VS comes with an installer project and a free version of InstallShield, however the free version of install shield doesn't do what I need, or so I think, and the MS installer is end of life so don't want to learn it! What is everyone using? I have in the past used NSIS but it doe...

Setup.exe can't find the .msi file

I have a link to a "setup.exe" file that's on a website, and I would like for someone to be able to install an application off of the website by clicking on the link. However, when I try testing this, a window comes up with an error message saying: An error occurred while attempting to install [Application Name]. A small log file for t...

MSI Package hangs-up when calculating disk space

In my team we prepared an msi installer package for our application. Package is made in WIX contains custom UI, call custom actions from C# library and almost everything works fine except one thing: calculating required disk space. On this stage whole installer hangs up from time to time, especially when client testing it :( We have the ...

Installshield: can it generate an .msi file?

Can InstallShield generate an .MSI file? What is the difference between the Express and Professional versions of InstallShield? Is there any reason to get Professional? ...

What's the difference between an EXE and a MSI installer?

I've created an installation package using Installaware and generated an EXE and a MSI. The EXE is 3.1MB and the MSI is only 265K. Why is there such a big difference in size? ...

Installer Project giving error in VS2k8

Hi guys, I have a installer project on VS 2k8, .net 3.5. Its giving me the following error: Error 1 Invalid icon file 'MSDN Magazine Managed Preview Handlers', located in 'Application Folder' C:\Users\jaminator\Desktop\APPreview\Handler\InstallPreviewHandlers\InstallPreviewHandlers.vdproj InstallPreviewHandlers It is a demo appli...

how to verify version of files embedded in Windows Installer?

I have built Visual Studio Setup Project, and it contains some Merge Modules etc, now sometimes all dll files included in the project are not showing up as latest version. After every build, I have to install every setup (5 of them) to check all dlls contain latest version files only. Is there any API where I can analyze the content of...

How do I add a complete directory to an msi in Visual Studio?

I've been tasked with building an msi installer for our custom project in Visual Studio 2005. In addition to installing the dlls we build from our code, it has to install a bunch of extra files (configuration, templates, scripts, stuff like that) that are stored in our version control system. The directory structure in version control mi...

What are the benefits of a MSI installer over a standard setup.exe?

If you need to install a 100% .NET product, should you prefer MSI installers? Why? Thanks. ...

How to set the UILevel to INSTALLUILEVEL_BASIC when performing a major upgrade?

I'm building an installation/upgrade package with WiX. I'm using the WixUI_InstallDir dialog set. What I want to do is to have a fully automated installation (no wizard) when performing a major upgrade of the installed product. Is it possible to: conditionally change the value of UILevel during the installation? (INSTALLUILEVEL_FULL ...

Building an MSI/Setup with VS2008 - How to Create Sub-Folders for Logs and Temporary Files

Hello...I have built a C#.NET WinForms App. I now need to build a MSI installer for the same so that I can ship it to my clients. I am stuck at the following place. I use log4net for Logging. How do I write my App.Config in such a way that the LogFile folder is based on where my end user installs the Application. That is, if my end ...

MSI Interop using MSIEnumRelatedProducts and MSIGetProductInfo

Hi, Whilst working with the MSI Interop API I have come across some unusual behaviour which is causing my application to crash. It is simple enough to 'handle' the problem but I would like to know more about 'why' this is happening. My first call to MSIEnumRelatedProducts returns an value of 0 and correctly sets my string buffer to a ...

Unpack, modify and re-pack files in an MSI?

I'm trying to figure out the easiest and most secure way to Authenticode sign binaries in one of my projects. The easiest way I can see to do this is to grab the result of compilation--a completed install package containing all my binaries--extract the assemblies from it, sign them, then repack these signed assemblies in the MSI which t...

Wrapping an existing EXE into an MSI - drawbacks?

We've got an EXE which works great for installing our application. However, we have multiple customers who are requesting an MSI for ease of deployment in their current domain. If we use our existing EXE install process, can we wrap that into an MSI and expect good results? The EXE creates an "Uninstall" that is added to the control pan...

Running copied files in wix using custom action

Hello, I'm creating an MSI installer using WiX and I have, say, a *.bat file that I'm copying to SomeFolder2 under %temp% (something like the code snippet below...) ... <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='MyDir' Name='SomeFolder'> ...