installer

fill directory textbox on button click in MUI NSI Installer , using ButtonEvent plug-in

笑着哭i 提交于 2019-12-20 05:49:30
问题 i have added custom button using Resource Hacker on the MUI Directory Page of the installer, now i want that when the button is clicked then the Default Textbox where the user enters the InstallDir (the path where the application is installed), is filled with some specified text. please help me with the code? I am using ButtonEvent plug-in, but i don't know what code to write in the event handler. Currently am just displaying a message box when the button is clicked to ensure that the event

Set environment variables with NSIS in Window 7

旧时模样 提交于 2019-12-20 05:39:11
问题 I want to set environment variable using NSIS installer. I will run script on Windows 7, if it is important. Thanks! 回答1: How can I create or change an environment variable Note: Changing %path% this way is unsafe and can corrupt the entry if it is longer than the NSIS string length! 回答2: You can create a windows batch file, pack it with the setup just like other files, on install unpack it to the plugins directory and execute it: File "/oname=$PluginsDir\appendvar.bat" "PathToScriptDir

Add missing file with msp patch

空扰寡人 提交于 2019-12-20 05:33:11
问题 I created an installer, deployed to our test environment and got an error due to a missing dll (it was not included in the wsx file). Is it possible to create a MSP patch to ship the missing dll or is it better to simply create a whole new installer? I tried following various examples but I keep getting this error: DEBUG: Error 2356 : Couldn't locate cabinet in stream: media1.cab. 回答1: A patch can do anything an updated MSI can do, but it is merely a packaging and delivery mechanism that

Does InstallShield Limited Edition Support 64 bit Installer?

对着背影说爱祢 提交于 2019-12-20 04:57:07
问题 I just started to learn InstallShield LE because it seems the only "officially" supported installer project. But I have one simple question that I can't even get a absolute answer: does ISLE support building a 64bit installer? I am asking because I found at least two posts saying that it is impossible, like this one: Replacing VS Setup projects with Installshield Limited Edition problematic. However, I can't get a (negative or positive)confirmation from flexera's website. They don't even seem

Windows installer patch failure - Execute Sequence stops after first action and install process resets

柔情痞子 提交于 2019-12-20 04:34:27
问题 I am seeing an unusual sporadic failure of one of our patches at several customer sites. The final error code is 1648 (No valid sequence could be found for the set of patches), which is occurring because error 2219 (Invalid Installer database format) occurs when attempting to read the summary information stream from one of the patch transforms. But I suspect this is only a side effect of an earlier silent error. Our patches all use the MinorUpdateTargetRTM property so there is really nothing

Create an installer program: read a path to install to, from registry key (something like wix/installshield/nsis)

给你一囗甜甜゛ 提交于 2019-12-20 03:17:23
问题 I would like to create an installer of my program. However because the installation is quite complicated, I need something more advanced than installshield limited edition. I have to run another installer from my current one. It doesn't matter if the user press "cancel" or installs the program, I just need to run it. I have to install a directory structure on user computer which has a lot of files, that's why i'm going mad with wix: 100 files and I should write all of them with my hands in

How to publish/deploy visual studio project as an installer

烈酒焚心 提交于 2019-12-20 03:13:00
问题 I just finished developing a system for a company. It will be used on 50+ PCs. The only problem left is the installation process. I don't think it's efficient to manually copy the whole folder of the project e.g. on Documents folder and create a Desktop shortcut of the .exe file on every PC. If possible, I'd like to compress (not sure if this is the right term for it) the whole project folder into a single setup/installer which will place it in the Documents folder and create a Desktop

How to show/use the user selected app path {app} in InputDirPage in Inno Setup?

只愿长相守 提交于 2019-12-20 02:56:18
问题 I'm creating an Installer using Inno Setup. I have to take two paths from user. One for program executables and another for libs. The default app folder is {pf}/companyname/applicationname In the InitializeWizard I have created second page which takes the lib folder from the user. Is there any way to change the default lib folder to the user selected folder {app} ? I have tried WizardDirValue . It just gives the default {app} value and NOT the path which user selected in first page. [code]

Qt Installer Framework : Create shortcut with argument

。_饼干妹妹 提交于 2019-12-20 02:26:11
问题 Does anyone know how to add an argument to a shortcut created by QT IFW? I need the exe it launches to be passed an argument. Here's what works (with no argument): component.addOperation( "CreateShortcut", "@TargetDir@/MyApp.exe", "@StartMenuDir@/@ProductName@.lnk", "workingDirectory=@TargetDir@", "iconPath=@TargetDir@/MyApp.exe", "iconId=0"); I want the exe to get something like -c passed to it. I've tried a few approaches, but am not having any luck. 回答1: Qt Installer framework

How can I setup the VB project?

旧城冷巷雨未停 提交于 2019-12-20 01:44:11
问题 Using VB6 I want to setup the Project, Last time I used VB 6 Package and Deployment wizard. It asks to modify some system file. I modified my system file, and then it worked. Now again I want to setup my new project, is asking to change the system file. Once I set up the project, is asking to change the system file and crystal report files (like crystl32.ocx… etc) Is showing error like, “out of stack space”, “out of system date” etc... Why is always asking to change? What is best way to setup