English 中文(简体)
安装后启动申请
原标题:Start application after installation
  • 时间:2011-03-04 14:20:29
  •  标签:
  • wix

我 around一 around,发现一些专题,如:

rel=“nofollow noretinger” http://wix.sourceforge.net/manual-wix3/run_program_ subsequently_install.htm

以及

安装完毕后发射申请,UAC转载于

but, i don t use any ui. Just simple installation! So far

<CustomAction Id="LaunchApp" Directory="INSTALLDIR" ExeComm以及="[SystemFolder]cmd.exe /C MyExe.exe" />

<InstallExecuteSequence>
      <RemoveExistingProducts Before="InstallInitialize" /> 
      <Custom Action="LaunchApp" After="InstallFinalize" />
    </InstallExecuteSequence>

but when i start the installer, a window pops up: "Please wait while Windows configures MyProgram". 以及 on top of it comes cmd.exe just with a blinking cursor, when i close cmd i get message :"There is a problem with this Windows Installer package. A program required for this install to complete could not be run." Though program remains opened. How can i do that properly (without any UI)? Thanks in advance!

最佳回答

如果你使用,情况如何

ExeCommand="[SystemFolder]cmd.exe /C start MyExe.exe"
问题回答




相关问题
3rd party Wix libraries

I am just getting started with Wix. I see there there a several libraries included with the default Wix install. I also see that users can create their own libraries(wixlibs). Are there any 3rd ...

Psake, Powershell & Wix

I have the below function as a part of my psake build. When the build is executing Candle.exe throws this error: candle.exe : warning CNDL1098: ext .BuildPackagesWixWebinWixIIsExtension.dll ...

wix custom dialog for config edit

hi i m trying make a setup msi for my application with wix v3 I have a problem about this task; I need a user input that will be stored in my application s config file (for example i need a dialog for ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

Conditional uninstall of previous version in Wix

I m doing an installer for an software used for debugging embedded ARM cores (OpenOCD) and this installer automatically removes the previous versions - that s simple. However, sometimes that would be ...

热门标签