installer

Launch app on startup for all users, but also allow per-user setting (Windows)

一个人想着一个人 提交于 2019-12-24 03:26:24
问题 I need my application installer set the program to auto-startup for all users. Then each individual user should be able to modify this option without affecting others. Currently I write to HKLM/../Run with installer, which acomplishes the first task. But then I can't disable autorun for current user, because deleting th HKLM/../Run entry would disable it for everybody. Is there a way to do that, without using shortcuts in Autostart folder? 回答1: start it for all users always but check a

Restrict access to a folder installed using wix installer

爷,独闯天下 提交于 2019-12-24 03:17:01
问题 My use case is to run a msi package which creates a folder, in addition to doing other things, which should be accessible only to the Administrators. I tried using the util:PermissionEx element but the wix page for the PermissionEx element doesn’t really tell about what do different attributes do. I tried various things, one eg below, but I was still able to access the created folder from both administrator and a non-admin user account. <Directory Id=“TmpDir” Name=“TmpDir”> <Component Id=

WiX command-line option for no UI, '/quiet', kills the running process

大城市里の小女人 提交于 2019-12-24 01:51:33
问题 I have created a setupkit with no UI using Wix for my application (called "XYZ" here). If I double click the MSI while XYZ.exe is runnning, it notifies me that a process is locking a file: I can choose to kill the locking process or I can abort the installation. This is fine: as a user I can decide what to do. But when I run the same MSI from the commandline, msiexec /i XYZ.msi /quiet /norestart if XYZ.exe is found running it will be killed. This is absolutely inacceptable in my scenario: the

Air sub applications

被刻印的时光 ゝ 提交于 2019-12-24 01:37:29
问题 Hi Is it possible for an Adobe Air application to install, upgrade and execute other Adobe-Air files. The basic use case is for a launcher application. It launches and manages other applications at user request, however doesn't need to install the runtimes until such a point as the user intends to execute it. EDIT: A good starting point may be in this question AIR App that Loads and Runs Existing AIR swf EDIT I'm going to cross post this to flexcoders though I'm not really happy with doing it

Innosetup - reference a file from [Code] before the installation starts

冷暖自知 提交于 2019-12-24 01:36:07
问题 This is sort of a continuation of this question. I have a file that I want to include with my installation package (a .CHM help file) that I need to access during installation from code. It doesn't need to be installed to the user's machine. So I want to - include the file in the installation package, probably uncompressed (so I guess I will do that with a [Files] ... external flag). - reference the file during installation with code like: procedure HelpButtonOnClick (Sender: TObject) ; var

How to Install an NSIS Executable Silently For All Users

纵然是瞬间 提交于 2019-12-24 00:54:27
问题 I have an NSIS installer executable which I would like to install silently for all users. I know I can pass the /S argument to do a silent install. The problem is that the default option for the installer is to install only for the current user. How can I change this option from the command line: installer.exe /S 回答1: NSIS itself just supports /S , /NCRC and /D=c:\override\default\installdir\ , everything else is up the author. If the custom page from your screenshot was created with

.NET (C# ) Install Project. Including other packages problem

只愿长相守 提交于 2019-12-24 00:53:13
问题 folks. I've created a setup project in VS2008 which installs fine by itself. However projects being installed by this installer depend on components (mainly speaking ESRI) which must also be installed on target machines. There is a separate installer for ESRI that we have and it consists of msi srcipt as well as 6 folders with subfolders in those which are user by this msi. I can't seem to figure out how to include that into my setup project, so that target users just run one full package. I

Linux java wrapper and installer

不想你离开。 提交于 2019-12-24 00:37:53
问题 I have a java app that i want to release it for all of platforms. i tried most of installers and wrapper like install4j , launch4j , Excelsior JET and ... I found best solution for windows and mac in Advanced Installer. it build a native launcher and installer for windows and mac. also it can download jre from custom source and install it if jre not present. so im looking for similar one for linux with this features: . wrap java . download jre if not present from custom source . make gui

Getting currently logged on user when running as admin

戏子无情 提交于 2019-12-23 18:34:25
问题 I've written an installer using NSIS and I need it to install some files (DLLs etc.) in a standard location like C:/Program Files/App Name/. I also need to install files in the current user's Application Data directory. The problem is that when the user is not an admin on Vista I need to elevate privileges and in doing so the environment variables change so the current user now appears to be the admin user and I end up installing in the Admin user's directory instead of the actual user. You

No Debug Info in WiX Managed Custom Action using Visual Studio integration

独自空忆成欢 提交于 2019-12-23 17:36:31
问题 I have managed to create a custom action in C# using MakeSfxCA which is mostly working. However, there is some kinks which needs debugging to sort out. (The "printf-debugging" just is not enough.) However all debug info is lost. When MakeSfxCA is called from the Visual Studio project the .pdb-file is not passed as an argument, so no debug-info is included in the created CA-dll. If I manually run MakeSfxCA MakeSfxCA MyDLL.CA.dll SfxCa.dll MyDLL.dll MyDLL.pdb CustomAction.config then the debug