installer

How to change the Windows service startup type in a WiX installer

一曲冷凌霜 提交于 2019-12-20 16:23:19
问题 We need to modify the Startup type of our Windows service from "Automatic" to "Automatic Delayed Start". How do I do this? My code is like this: <ServiceInstall Id="WinServiceInstall" Name="ServiceManager" DisplayName="ServiceManager" Type="ownProcess" Start="auto" ErrorControl="normal" Vital ='yes' Description ='Monitoring and running the jobs' Account="[SERVICEACCOUNT]" Password="[SERVICEPASSWORD]"> <util:ServiceConfig FirstFailureActionType="restart" SecondFailureActionType="restart"

PyInstaller but keeping .py files upgradeable

倖福魔咒の 提交于 2019-12-20 14:44:38
问题 I've managed to package my PyQt4 app as a "standalone" application on windows, it works. However this application can upgrade itself, which is done by replacing the actual code written by me (.py files) with new versions, downloaded via the internet. How can I tell PyInstaller do its job (putting together the DLLs, generating the launcher with the shiny icon, etc), BUT let the .py files untouched? I need those files directly on disk, in order for the auto-update to work. 回答1: You can change

Best tool to create MSI [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-20 10:39:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am new to setup project creation. Now I am using Visual studio 2008 to create setup file (msi) for my project. I am quit uncomfortable in creating my own custom forms in the installation wizard as well as upgrading an existing version of my project to a new version. Is there any other alternatives to create

WIX-Installer MSI Publisher Unknown

只愿长相守 提交于 2019-12-20 10:22:09
问题 How to provide publisher Name for MSI installer which is developed using WIX Installer? While installing my .msi installer it's showing unknown publisher, how to provide a name for publisher?Is it possible to do this within WIX? If so kindly help me how to implement this using WIX installer. 回答1: I think you are looking to avoid the security warning that is displayed when someone installs your setup. For this you would need to sign the setup with your certificate and a private key. You can

WIX-Installer MSI Publisher Unknown

纵然是瞬间 提交于 2019-12-20 10:20:07
问题 How to provide publisher Name for MSI installer which is developed using WIX Installer? While installing my .msi installer it's showing unknown publisher, how to provide a name for publisher?Is it possible to do this within WIX? If so kindly help me how to implement this using WIX installer. 回答1: I think you are looking to avoid the security warning that is displayed when someone installs your setup. For this you would need to sign the setup with your certificate and a private key. You can

Set ASP.Net version using WiX

為{幸葍}努か 提交于 2019-12-20 09:48:56
问题 I am creating an installer for an ASP.Net website using WiX. How do you set the ASP.Net version in IIS using WiX? 回答1: We use this: First determine the .Net framework root directory from the registry: <Property Id="FRAMEWORKROOT"> <RegistrySearch Id="FrameworkRootDir" Root="HKLM" Key="SOFTWARE\Microsoft\.NETFramework" Type="directory" Name="InstallRoot" /> </Property> Then, inside the component that installs your website in IIS: <!-- Create and configure the virtual directory and application.

NSIS - How to include all folders from source to Installer

為{幸葍}努か 提交于 2019-12-20 09:45:20
问题 I have an application which consists one .exe , many .dlls and a few folders. I use NSIS to create an installer. It works but when I install the software, I don't see all the folders inside my application. What do I have to do to bundle all the folders within my application into the installer? This is the code I set the data source at this time: File "c:\MyProject\MyApp\*" 回答1: The documentation tells us that the /r argument of the File command includes all sub folders and files. So you would

How to update appsettings.json from wix custom actions with the values passed as parameter during command line installation?

寵の児 提交于 2019-12-20 06:37:17
问题 I’m currently working on a project where I am using Wix for the installer. My application is developed using .net core and having appsettings.json as a configuration file. I would like to update the values on the appsettings.json with the values which passed as a parameter during command-line installation For example, I am passing value 500 through parameter BUFFER.SIZE msiexec.exe /i c:\PathToMyMsi\MyMsi.msi BUFFER.SIZE="500" /L*vx c:\PathToMyLog.txt To achieve this, I have defined property

WIX Installer not displaying the custom image of WixUI Dialog correctly

吃可爱长大的小学妹 提交于 2019-12-20 06:36:19
问题 In my WIX installer I'm using a custom WixUIDialogBmp image for installer's Welcome and Completion pages. But as shown below, the image is not displaying correctly. I'm trying to follows this official documentation from `WIX. Question : What I may be missing and how can it be corrected. Note : The issue seems to be that the dialog is showing too much margin on the left despite the fact that the text in the image itself is aligned to the extreme left. But this is just a guess on my part.

How to create an installer of a browser-based system?

早过忘川 提交于 2019-12-20 06:28:41
问题 I just developed a browser-based employee management system. I am wondering if there is a way for me to create an installer or a self-extracting file to transfer the system to another computer easily. I have tried using "iexpress.exe" and "Actual Installer" however it seems they only extract in a single directory. Is there a way for me to specify which file should go to a specific directory using these applications? If none, any suggestions how to do it? 回答1: You can make IExpress put files