installer

How to define installation folder from command line parameter in Wix installer

六眼飞鱼酱① 提交于 2019-12-22 08:51:39
问题 I install my application to a specific folder using the below wxs code: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLDIR" Name="CompanyName"> <Directory Id="SUBDIR" Name="Application Launcher"> <Component Id="ApplicationFiles" Guid="*"> <File Name="app.exe" Id="AppFile1" Source="app.exe" Vital="yes" /> </Component> </Directory> </Directory> </Directory> </Directory> I want to specify the installation folder with a parameter to be given

How do you make an installer for your python program

纵然是瞬间 提交于 2019-12-22 06:32:21
问题 Im new to python, but I was thinking about making a program with python to give to my friends. They don't know much about computers so if I asked them to install python by them selves they couldn't do it, but what if I could make an installer that downloads some version of python that only has what is needed for my file to run and make an exe file that would run the .py file in its own python interpreter . I also did a Google search and saw the freezing applications I could use to make the

How do you make an installer for your python program

▼魔方 西西 提交于 2019-12-22 06:31:11
问题 Im new to python, but I was thinking about making a program with python to give to my friends. They don't know much about computers so if I asked them to install python by them selves they couldn't do it, but what if I could make an installer that downloads some version of python that only has what is needed for my file to run and make an exe file that would run the .py file in its own python interpreter . I also did a Google search and saw the freezing applications I could use to make the

Running VB6 applications without having installed VB6

烈酒焚心 提交于 2019-12-22 04:57:12
问题 My problem is I have to install VB6 on client's computers if I want to run my VB6 applications. Actually the version of VB6 I have, can not make setup file. So I just make a link to the exe file manually. Is there any way that I donot have to install VB6, could just copy a few files and the application could run? Thanks 回答1: In order to run VB 6 applications (even when compiled to an EXE), your clients will have to have the VB 6 runtime installed on their machines. You can download the latest

How do I find out which missing DLL is making my .NET application crash on startup?

淺唱寂寞╮ 提交于 2019-12-22 04:26:08
问题 When dependencies on 3rd party assemblies are added to a typical .NET application it's very easy to forget to add them to the installer. This problem tends to reveal itself only after the application is installed, and in the form of a crash on startup with little helpful information readily available. What are the best tools and techniques to find out which assemblies need to be added to the installer? 回答1: Fully automated builds help reduce the human component and therefore the error. If it

How to Download MSI installer with argument for user-id

三世轮回 提交于 2019-12-22 03:36:14
问题 I have a .NET C# application, wrapped inside MSI installer - "myprogram.exe". I have a PHP website and a specific page where user can download the program via a link. I would like to be able to track certain events on the .NET app. For example - "Program Opened". It's easy to send events to my server, however how do I grab the user-id from the php server, so I can know which user did what on the .NET app? I thought about passing an argument (the user-id) to the MSI installer but could not

How do I install to LocalAppData folder?

删除回忆录丶 提交于 2019-12-22 02:58:27
问题 Following directory setting works perfectly for me. <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id="ProgramFilesFolder"> <Directory Id='INSTALLDIR' Name='MyApp'/> </Directory> </Directory> However, when I tried changing "ProgramFilesFolder" to " LocalAppDataFolder ", I got lots of error when using light to link and generate my msi: D:\runGroup.wxs(53) : error LGHT0204: ICE38: Component cmpA5561BE36D80EB58252E69DDA0C2FF8C installs to user profile. It must use a registry key under

Inno Setup - How to give one specific user rights to a folder

爷,独闯天下 提交于 2019-12-22 01:41:15
问题 I want to give folder rights to one specific user (not user groups). I have seen multiple examples but it give rights to whole user group. [Dirs] Name: "{app}"; Permissions: users-full http://www.jrsoftware.org/ishelp/index.php?topic=dirssection I tried this, but I received an error [Dirs] Name: "{app}"; Permissions: John-full Error on line 68 in D:\installer.iss: Parameter "Permissions" includes an unknown SID: "John" Is it possible to give rights to one specific user (hard code string)? 回答1

How do I change ROOTDRIVE with a CustomAction?

对着背影说爱祢 提交于 2019-12-21 21:34:30
问题 Normally, you can change the default root drive to install your application to using: <Property Id="ROOTDRIVE">D:\</Property> But now, I wish to change it using a CustomAction that gets called on a next button click in my install wizard: [CustomAction] public static ActionResult SetFullInstallRootDrive(Session session) { session["ROOTDRIVE"] = session["DRIVE_NAMES"].ToString(); } DRIVE_NAMES represents the drive selected, using a combo box, and ROOTDRIVE gets properly set to either whatever

How do I get my Installer Application to behave correctly with Windows?

限于喜欢 提交于 2019-12-21 17:56:36
问题 I have made a simple installer application in Delphi, nothing fancy. Basically I include files into the Exe, and then extract them to a user specified path. I stumbled across a problem however, and I have noticed this works with ANY Windows Executable, it does not matter if it is an installer or not. If an Exe is named, or contains the following words in the filename, "Setup", "Build", "Install" and maybe others, then.. whenever the Application is run and closed, Windows pops up a Product