installer

creating a Mac OSX installer so the installed app won't set off the firewall

非 Y 不嫁゛ 提交于 2019-12-13 19:16:44
问题 Right now I'm distributing a .app file to people in my organization. I drag it to /Applications by authenticating as root, but every time the users launch the program they get a firewall warning. (The app checks for updates on launch--very important for us). Since the users aren't admins they can't authenticate to make the messages go away. Will a mpkg-installed application also provoke the firewall in such a way that end-users will need an admin to allow the update check? Is there a post

How can I have my installer write to the HKCU registry tree?

心已入冬 提交于 2019-12-13 18:01:01
问题 My installer requires admin privileges. During installation some values are written to the HKCU tree of the registry of the currently logged on user. However, when this user account is a so called standard account, the user has to specify credentials for an administrator account when the installer starts. The values are then written to the HKCU tree pertaining to this admin account instead of the HKCU of the currently logged on user. The same problem arises when the installer wants to write

Custom “Repair” and “Uninstall” functions for MSI installers (when called from the Control Panel)

隐身守侯 提交于 2019-12-13 17:43:53
问题 The Add/Remove Programs (or Programs and Features ) Control Panel applet usually allows to uninstall or repair a program. For a non-MSI installation it's easy to define what should happen, when a user clicks the "Change" or "Uninstall" button. Just set the appropriate keys in the Registry ( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<AppName> ). My question is how to make the "Change", "Repair", and "Uninstall" buttons to work my way (e.g. to start a custom program

How to make a custom installer for games, etc?

非 Y 不嫁゛ 提交于 2019-12-13 17:21:16
问题 Can anyone tell me how to create a custom installer to 'install' games. I say custom meaning I don't want the user to have the option where the game is installed. I want it to be a straight forward process, maybe with just one loading bar. The program I'm developing is a 'center' for game playing, which includes a community and other features, such as a timer that records how long a game is played for. I just thought that installing each game in one place, with a simple installer would make

Make VDProj .MSI installer copy itself locally after successful install

六眼飞鱼酱① 提交于 2019-12-13 17:19:35
问题 We have large C# application spanning many projects which is packaged into an .MSI file by running MSBuild (or through Visual Studio 2010) on a .VDProj file. The installation usually works fine, and warns correctly if other required software is not found on the local machine. However, if the installation is successful, we would like the installer to copy itself to some particular folder in program files. For example 'c:\program files\app\version\install_1.2.3.4.msi'. Does anyone know of any

how to create a installer similar to visual studio 2008 setup

◇◆丶佛笑我妖孽 提交于 2019-12-13 16:07:19
问题 i want to know how to create a installer similar to visual studio 2010 setup file. thanks in advance. 回答1: WiX toolset is used to create Windows Installer based installers, MSI files. Visual Studio setup uses MSI to make changes to the system. Although MSI is very powerful, it provides limited UI experience, which, however, is quite enough for most setups. Visual Studio setup uses a regular application that collects information from the user. Then it uses External UI (see MsiSetExternalUI

wix: re-start an existing Service when install/uninstall finish

无人久伴 提交于 2019-12-13 15:49:43
问题 I would like to re-start a running service when my installer finish installing or uninstalling. I have found this code: <ServiceControl Id="SomeUniqueId" Name="NameOfTheirService" Start="both" Stop="both"/> But where do i attach this code to ? to the component where my is placed ? Code: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="325c4bfd-6614-43e9-aedb-93661295352d" Name="Plugin" Language="1033" Version="1.0.0.0" Manufacturer=

Detecting if SQL Server 2008 is installed

ⅰ亾dé卋堺 提交于 2019-12-13 13:56:02
问题 I am using dotNetInstaller as a bootstrapper and I need to detect if SQL Server 2008 or above is installed as a prerequisite. Currently I am using this registry to detect the installation: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server 2008 Redist\SharedManagementObjects\1033\CurrentVersion\Version If the value of Version is 10.0.0 or higher it detects it as installed. We tried the installation package on 10 machines here (Windows XP SP3 & Windows 7) and the prerequisite worked fine. We are

Windows Logo clean uninstall

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 08:07:09
问题 Anybody knows a way to cleanly uninstall a program that stores its settings on the per-user basis and installs for all users? I mean only the way to completely following the all Logo (Vista, 7, 8 - Server and Desktop) requirements. I have found no way but installing a program on per-user basis, which in general can't be the solution. Maybe leave some .cmd files in each user's home folder for cleaning-up application data? The Logo requirements contains a lot of contradictions, and precisely

How do I alter a .NET application/user settings on installation?

房东的猫 提交于 2019-12-13 07:30:32
问题 In a Windows Service project, with a Project Installer I tried the following: [RunInstaller(true)] public partial class ProjectInstaller : Installer { public ProjectInstaller() { InitializeComponent(); } protected override void OnBeforeInstall(System.Collections.IDictionary savedState) { base.OnBeforeInstall(savedState); Settings.Default.ASetting = "aValue"; Settings.Default.Save(); } protected override void OnAfterInstall(System.Collections.IDictionary savedState) { base.OnAfterInstall