installer

Unable to start Service with WiX Installer

耗尽温柔 提交于 2019-12-25 14:11:43
问题 I'm trying to do a WiX installer with a service install for my C# project. It's the first time I try and I don't understand why it doesn't work. I have set a ServiceInstall but when I run the setup, I'm blocked in this page : After a few seconds I got the error : I created the WiX install from a Visual Studio Installer with the same parameters. There is the code : <Product ... /> <Feature Id="ProductFeature" Title="$(var.product)" Level="1"> <ComponentRef Id ="MyService"/> </Feature> <UIRef

Error while running MVC3 Application after reinstalling also

此生再无相见时 提交于 2019-12-25 12:44:23
问题 My issue still persist. Reference to the thread Error while running MVC3 Application Though I marked it as an answer as it did resolved my issue after reinstalling MVC3 but after 8 days this issue reappears but this time every single effort is failed: I installed MVC 3 after uninstalling it: I installed MVC 3 by Web Installer. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d2928bc1-f48c-4e95-a064-2a455a22c8f6 Than http://www.microsoft.com/downloads/en/details.aspx?FamilyID

How do you optimize a JPEG image for MSI installers?

无人久伴 提交于 2019-12-25 08:48:36
问题 I am dealing with a splash screen logo and I've noticed that on different OS versions this image gets distorted, but it happens to work when dealing with Windows 8.1, but not on Windows 7 or Vista. I've been using Adobe Fireworks in conjunction with Illustrator to generate it, and I must have tried a ton of different settings but I can't get the same experience across all operating systems. I load it into my WiX project as follows: <Binary Id="SplashBinary" SourceFile="Splash.jpg"/> And I use

Jump to another label from within a label

别来无恙 提交于 2019-12-25 08:27:50
问题 In NSIS, how do I jump to a label from within another label? Note: I am not sure if what I am talking about is actually called a label so correct me if I am wrong. In the following code I want to jump to the label 'InstallFiles', see the line '# SEE HERE': # the following code is from within a macro # Check the directory exists IfFileExists $installDirectory InstallFiles CreateDirThenInstall CreateDirThenInstall: # this is a label...I think? :P file $installDirectory # SEE HERE: HOW DO I call

Make an installer with Delphi

核能气质少年 提交于 2019-12-25 07:38:16
问题 In my Project I have some files to copy in program files directory and make a shortcut for one executable and other works like an installation. I want to do this in my application with store files in Packages, like CAB files and show installation in a progress bar. First I think about a msi wrapper, but some users said that is so slow! How can I do this in best way? 回答1: Here is a small template for start: unit Unit1; interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics,

Unable to delete deployed file during installation with WIX installer

廉价感情. 提交于 2019-12-25 05:18:38
问题 In our WIX installer project, we need to generate a new file, let's call it FileB, based on a deployed file, called FileA in a managed custom action function. In another word, in the component declaration, I declare the FileA. While in a custom action (which happens at commit phase), I need to generate FileB based on FileA. After that, since FileA is no use anymore, I want to delete it in the same custom action. And here comes the problem: with the default installation folder, which is

Postgresql 8.4 and BitDefender 11

三世轮回 提交于 2019-12-25 04:37:10
问题 Since I've change my antivirus to BitDefender 11 I cannot start Postgresql 8.4 on my desktop (command line or service alike). Browsing on the Internet is seems that is a known issue, since many people are complaining about this issue Does anyone know a workaround to this issue? Thanks Peter 回答1: As a note, this was asked on the mailing list and was responded to by Tom Lane (http://www.postgresql.org/message-id/26791.1290036551@sss.pgh.pa.us). Apparently this is cause by BitDefender

Reboot on installation of .CAB WM

被刻印的时光 ゝ 提交于 2019-12-25 04:23:13
问题 On a Windows Mobile 6 or CE 5 device, I need to install a CAB file and then initiate a reboot. I am aware of custom actions. You need to create a setup.dll for the CAB file in native C++. So I have the following code already made codeINSTALL_EXIT Install_Exit(HWND hwndParent, LPCTSTR pszInstallDir, WORD cFailedDirs, WORD cFailedFiles, WORD cFailedRegKeys, WORD cFailedRegVals, WORD cFailedShortcuts) { MessageBox(hwndParent, _T("A reboot is required to complete installation, Press OK to reboot.

Including a runtime (vcredist_x86.exe) as part of an installer

寵の児 提交于 2019-12-25 03:26:31
问题 I need to include a runtime as part of a project installer. I was having trouble including it, as an error saying "an installation is already in progress" was appearing, due to the fact that I was essentially trying run an msi from within an msi. I managed to get over this by including it in the "OnAfterInstall" event, however it appears now that it is not being installed on upgrades, only on fresh installs. Can anyone offer any advice? Thanks 回答1: You don't specify what version of the Visual

Uninstall error if original install DVD is not in drive

喜欢而已 提交于 2019-12-25 03:18:15
问题 When trying to remove our application in Add/Remove Programs, the following error pops up, and the application fails to uninstall: Error 'mFileBagIDE.dll' is not a valid short file name. The curious thing is that you only get this error if the original installation DVD is not in the drive. If the DVD is in the drive, the uninstall works perfectly. Here's the real kicker: we did not catch this bug until after our application was already widely deployed, and our clients' situations are such