windows-installer

How does the MSI Installer InstallValidate determine files in use?

Deadly 提交于 2020-01-01 16:17:26
问题 I'm trying to work out how to prevent the Restart Manager from detecting that a restart is required when I uninstall my application. My application has a Windows Service which uses a native DLL (Tanuki Wrapper) and creates another process (Java) which writes to some log files. I'm using WiX Toolset but I'm more interested in the MSI Installer itself. I've been trying some changes manually using Orca. For reference the relevant WiX configuration is (there are some other components for JARs etc

How to get msiexec to install and/or reinstall as necessary

爱⌒轻易说出口 提交于 2020-01-01 15:08:52
问题 I have an internal MSI placed on a network drive, and I'd like to write a login script so that anyone on our network can get the MSI installed onto their machines, or to get it auto-reinstalled whenever the MSI is updated (which happens often). If I use msiexec.exe /i REINSTALL=ALL it will do nothing if the MSI has not yet been installed on that machine. If I leave out the REINSTALL=ALL , then it will do fresh installations, but will not do update/reinstall. What parameters should I choose to

How to get msiexec to install and/or reinstall as necessary

点点圈 提交于 2020-01-01 15:08:49
问题 I have an internal MSI placed on a network drive, and I'd like to write a login script so that anyone on our network can get the MSI installed onto their machines, or to get it auto-reinstalled whenever the MSI is updated (which happens often). If I use msiexec.exe /i REINSTALL=ALL it will do nothing if the MSI has not yet been installed on that machine. If I leave out the REINSTALL=ALL , then it will do fresh installations, but will not do update/reinstall. What parameters should I choose to

Windows installer and setup application into one file?

我是研究僧i 提交于 2020-01-01 14:36:10
问题 I have written a application in C# using visual studio, I have made a project set up file which as created to files for me in my debug. The Windows Installer and the setup application are both needed, but i would like to merge them into one, like when you download an app the installer its just one file. Could some one please show me how to do this, or just point me towards a good source. Thanks in advance. 回答1: If you're using Visual Studio's built-in setup project template to generate your

Setup Project does not replace assembly files

守給你的承諾、 提交于 2020-01-01 09:08:10
问题 I have a Windows Application project (A.exe) that calls another project Class Library (B.dll). A.exe has a button (myButton) that calls the method Method1 from B.dll. To install the application I created a Setup project ASetup.vdproj, whose Primary Output is project A. After compiling the setup, the installation runs without any problems, when A.exe starts and I click myButton, the aplication gives no error. Then I changed B.dll and added a new method Method2. myButton is now calling Method2

Setting the manufacturer in a VS 2008 Setup Project

浪子不回头ぞ 提交于 2020-01-01 08:24:52
问题 I have a windows setup project that installs a service. All works well except for one thing: The default directory offered to the user during install is of the form "C:\Program Files\Microsoft\ProgramName". I am trying to modify this so that instead of "Microsoft" we would have our company's name. I found the application folder property of the setup project, and it has a DefaultLocation property of "[ProgramFilesFolder][Manufacturer][ProductName]". So, it looks like all I need to do is set

Is MSDeploy “friendly” enough, or can it be wrapped up in an MSI file

只愿长相守 提交于 2020-01-01 03:23:09
问题 In your opinion, are MSDeploy packages a good option for giving to an end user to install a webapplication on their system. How does it compare with, say, the experience of using an MSI file to install a web app? Has anybody tried wrapping up an MSDeploy package inside an MSI package? Would it work? 回答1: MSDeploy was described to me as a tool that helps synchronize web sites between machines, much in the way that AppCenter used to replicate a well configured master to many machines. The

Can I deploy a ClickOnce application via CD, and update via Web?

人走茶凉 提交于 2020-01-01 02:49:07
问题 We have a vendor application that we extend and deploy via ClickOnce. The vendor also provides a 'Deployment Manager' which packages the app and any extensions into a ClickOnce deployment that we publish to a web server. I mention this detail so that it's understood we don't really have great control over changing the deployment process. So, we publish the application to our web server. That works fine, and updates work correctly. On loading the application, it will prompt the user if they

Installing/Uninstalling Services in Windows 7: “Error 1001. The specified service has been marked for deletion”

此生再无相见时 提交于 2019-12-31 11:44:53
问题 I am currently developing a Windows Service in .NET 4.0, Visual Studio 2010, Windows 7-32bit. I have an installer project that does the installation for me. When I install the service, uninstall it, and try to install again, I get the following error: Error 1001. The specified service has been marked for deletion In Windows XP, the problem was that the Services.msc was open. Closing this window would fix this problem. However, with Windows 7, the only way I can fix this is to restart. I tried

Installing/Uninstalling Services in Windows 7: “Error 1001. The specified service has been marked for deletion”

北城余情 提交于 2019-12-31 11:43:08
问题 I am currently developing a Windows Service in .NET 4.0, Visual Studio 2010, Windows 7-32bit. I have an installer project that does the installation for me. When I install the service, uninstall it, and try to install again, I get the following error: Error 1001. The specified service has been marked for deletion In Windows XP, the problem was that the Services.msc was open. Closing this window would fix this problem. However, with Windows 7, the only way I can fix this is to restart. I tried