installer

How to Install a service as the current account in c#

吃可爱长大的小学妹 提交于 2019-12-12 12:42:46
问题 In my installer code I'm currently using: processInstaller.Account = ServiceAccount.LocalSystem; But one of our clients has a proxy configured so the service account can't access the internet. Currently we have to configure all the services manually after install but if we could have them automatically use the credentials of the installing user we wouldn't have to do this. Does anyone know if this can be done? Thanks, Richard 回答1: You can set the Account type to user and then specify a

How does the setup bootstrapper detect if prerequisites are installed?

核能气质少年 提交于 2019-12-12 12:38:55
问题 Trying to solve this problem. I would like to learn how the bootstrapper detects if prerequisites (specifically .NET 3.5) are installed. According to this reference, a way to detect if .NET is installed is to check the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5 Using process monitor, I have inspected registry queries done by the bootstrapper (setup.exe) and it did not show any access to this registry key. Does anybody know how the bootstrapper

WiX can'f find my file : unable to load file, error LGHT0103

巧了我就是萌 提交于 2019-12-12 12:02:33
问题 I am using WiX 3.5 and making an installer. I have used heat.exe to bundle all the files. It produced a WiX file. I referred in main wxs files as componentgroup ref. When I build my installer, it throws the following exception. light.exe : error LGHT0103 : The system cannot find the file '..........\target\tmp-release\jboss-eap-5.0\jboss-as\server\all\deploy\httpha-invoker.sar\invoker.war\WEB-INF\classes\org\jboss\invocation\http\servlet\ReadOnlyAccessFilter.class' with type ''. It is able

Wix - Create a mock installer that requires a reboot (returns 3010)

萝らか妹 提交于 2019-12-12 11:27:43
问题 I'm interested in creating a mock wix installer which can be used to simulate an installation that returns error code 3010. Is there a way to get a wix installation to easily return a specific error code. Would simply returning 3010 from a custom action work? or would that just be a failed custom action? Any suggestions welcome! Thanks Ben 回答1: Despite searching on SO before posting, I have subsequently found this answer. Is it possible to prompt for restart machine after installation using

How to run a batch script after installation is finished?

给你一囗甜甜゛ 提交于 2019-12-12 10:37:47
问题 I'm working for a custom installer developed in Visual Studio 2008 (Setup & Deployment > Setup project) for a C# project. I'd like to run a batch file (*.bat) after installation is finished. How can I do that? 回答1: You will have to extend the Installer class and override the Committed event. Here is an example. Hope you will be able to find how to run a .bat file in C#. [RunInstaller(true)] public class ServiceInstaller : Installer { string strServiceName = "MyServiceName"; public

How to distribute my Java program so that it is runnable by double-clicking a single file?

心已入冬 提交于 2019-12-12 10:33:31
问题 I have a Java rich client desktop app. that I want to distribute on some computers at work, but I've never done something like this before. People aren't too computer-savy at my workplace and since it is a student job, I won't be there for much longer and I'd like it if I could make my program easy to run by making it runnable when people double-click on it. I also don't want to have to manually install a JRE to have it run. Basically, what I'd like to know is how to make my java application

How to create an installer out of an installer?

柔情痞子 提交于 2019-12-12 10:13:17
问题 I have an old legacy application around for which I only have the installer. it doesn't do anything more than uncompress and register itself and his library's. As i don't have the source-code it gives me a lot of headaches in maintenance problems. In some particular computers (Acer Aspire One with Windows) just do not run. I would like to extract the files and re-create this installer with NSIS. Is this possible or I'm nuts? The original installer has been created with Ghost Installer Studio.

How do I get IzPack to add program to Program and Features

空扰寡人 提交于 2019-12-12 09:41:59
问题 I'm using IzPack 5.0 beta 11 to package up my Java application. How do I get a program installed using IzPack on Windows to appear in Program and Features as an installed program? EDIT I've found some information about putting things in the registry with Izpack 5 http://docs.codehaus.org/display/IZPACK/registry but Im still struggling to understand quite what I do the documentation is vague. I simply want my program to be shown in Programs and Features, and it be possible to uninstall from

Error 1001 on uninstall

六月ゝ 毕业季﹏ 提交于 2019-12-12 08:31:45
问题 Error 1001. An exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete I can't uninstall or install the application. This particular box is not able to access the internet and I don't have physical access so most of the googleable results are not useful since they suggest running an exe from Microsoft. What are the manual steps to resolving this issues. There

Stopping MSI from launching an EXE in the SYSTEM context

[亡魂溺海] 提交于 2019-12-12 07:21:17
问题 I've got a problem here with an MSI deployment that I'm working on (using InstallShield). We have a program running in the background that needs to run per-user, and it needs to start automatically without user intervention. The problem is with Group Policy Object/Active Directory (GPO/AD) deployment the application is started in the SYSTEM context before anyone is logged in rather than as the user who is about to log in. The application can only run once per user, and it seems that the