installer

Create RPM package from ANT script under Windows

若如初见. 提交于 2019-12-18 12:27:07
问题 I need to create an RPM package from an ANT script that runs on a Windows computer. This package must contain the result classes from the build plus some other, additional resources. I guess there should be some program somewhere that can be invoked from the command line to create this package. The reason why I want to do this under windows is that we have a script that builds installers for several different platforms, and everything is already configured for windows so I want to avoid the

Using PackageMaker to run a script on install

旧街凉风 提交于 2019-12-18 11:47:51
问题 I have an app I need to create an installer for, and all the installer needs to do (besides copying the app) is run a script (or executable) that is not part of the app itself. Any help on how I can do this? I see in the Requirements tab there is a Results of Script action, and there is also the Preinstall Actions in the Actions tab which has an Open File action. Will either of these do the job or should I be looking elsewhere? 回答1: Here is a good How-to There are 7 types of scripts than can

How do I do a silent install and uninstall with WiX and MSI?

半城伤御伤魂 提交于 2019-12-18 11:09:30
问题 How can a silent installer be created in WiX that does not display any UI dialogs to the user and installs, upgrades and uninstalls with default settings? 回答1: Just don't include any UI/UIRef elements and then no UI will be included :) 回答2: Windows Installer (MSI) uses the following command line arguments to be silent: Silent install or silent major upgrade: msiexec.exe /i foo.msi /qn Silent minor upgrade: msiexec.exe /i foo.msi REINSTALL=ALL REINSTALLMODE=vomus /qn Silent uninstall: msiexec

How does AppBrain's installation app work?

僤鯓⒐⒋嵵緔 提交于 2019-12-18 10:57:12
问题 AppBrain has a fantastic new app that lets you automatically install applications on your phone using your web browser. Similar to the Chrome push. In their case, they are using it to let you install apps without a prompt directly on the phone. Engadget has a good video demonstrating their system. http://lifehacker.com/5582169/appbrain-upgrade-installs-android-apps-instantly-from-the-web My question is: What mechanism are they using to avoid asking for a prompt on the phone and to do the

Using InstallUtil and silently setting a windows service logon username/password

你离开我真会死。 提交于 2019-12-18 10:02:52
问题 I need to use InstallUtil to install a C# windows service. I need to set the service logon credentials (username and password). All of this needs to be done silently. Is there are way to do something like this: installutil.exe myservice.exe /customarg1=username /customarg2=password 回答1: A much easier way than the posts above and with no extra code in your installer is to use the following: installUtil.exe /username=domain\username /password=password /unattended C:\My.exe Just ensure the

C# Deployement retaining files over an installation

泄露秘密 提交于 2019-12-18 09:51:55
问题 I have created a Setup and deployment project using the Visual studio and install the setup. After i install the setup it copies a few files(XML) which on using of the application are configured programmatically . Now , If the user is reinstalling this setup again i need to ask the user whether these configured files need to be overwritten or be retained ?? Any idea as to how this can be accomplished ? Thanks & Regards, Fran 回答1: Look into file versioning rules for Windows Installer. In short

How do Installation Software Programs Extract Files?

自古美人都是妖i 提交于 2019-12-18 09:50:41
问题 I am working with installers at the moment, and the first thing I thought of was to put a .zip file on a server and then having it download that and extract. However, I've seen installers run without an internet connection (which wouldn't work for mine), and they say "extracting files", not downloading. Is there some way to store files in an installer, and is there anything wrong with me having an installer like I currently do? 回答1: The overview of a Windows Installer setup is that files are

Why use Windows Installer XML (WiX) over VDPROJ?

こ雲淡風輕ζ 提交于 2019-12-18 08:28:31
问题 Why should one go for Windows Installer XML (WiX) when we have in built .net MSI installer? 回答1: The introduction of WiX tutorial gives the basic idea about WiX advantages comparing to other setup development tools (including VS setup projects): declarative approach unrestricted access to Windows Installer functionality source code instead of GUI-based assembly of information complete integration into application build processes possible integration with application development support for

Why use Windows Installer XML (WiX) over VDPROJ?

故事扮演 提交于 2019-12-18 08:28:06
问题 Why should one go for Windows Installer XML (WiX) when we have in built .net MSI installer? 回答1: The introduction of WiX tutorial gives the basic idea about WiX advantages comparing to other setup development tools (including VS setup projects): declarative approach unrestricted access to Windows Installer functionality source code instead of GUI-based assembly of information complete integration into application build processes possible integration with application development support for

Service failed to start error 1920

与世无争的帅哥 提交于 2019-12-18 07:22:27
问题 On some machine we have the following error at service install: "Service ... failed to start. Verify that you have sufficient privileges to start system services." Service is installed fine tho, just that it can't be started as Network Service from Services.msc. Service starts and runs good if started from console it's executable... Same thing happens with another service started as Local System. On other machines everything is fine. Service starts as network service with no problems. We