installer

how to write installer (installing python, python modules and other dependencies) for windows boxes?

这一生的挚爱 提交于 2019-12-13 01:19:40
问题 I know nothing on this subject, but I need suggestions about the best tools or method for creating a setup program that installs python, some custom python modules, some other python modules such as PIL, and some EXE dependencies, all living on a network repository, on windows machines. In the repository are installers for python (msi file), PIL (exe file), the custom python modules (pyc files), and two windows executables (and exe file and a zip file). Any advice welcome. 回答1: You can do

Getting the SourceDir property from a C# custom action

两盒软妹~` 提交于 2019-12-13 00:57:15
问题 I have some directories that are bundled with my installer and I need to access them from within a custom action. I have done some research and seen that the SourceDir can be used to obtain the currently executing dir location. However I cannot find any examples of how to obtain this property? Or another way to obtain the current directory? Can anyone advise or point me to anything other than the unhelpful Microsoft site? 回答1: I'm assuming you're using vbscript for the custom action. If so,

How to create nested folder in AppData

半腔热情 提交于 2019-12-12 23:46:46
问题 I'm trying to create an installer that installs my DApp into ethereum client. To do so I just have to copy my files into %appdata%\Parity\Ethereum\dapps\mydappname . So I have this markup which creates a folder in %appdata%\mydappname : <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="MyDapp" Language="1049" Version="1.0.0.0" Manufacturer="Orbita" UpgradeCode="PUT-GUID-HERE" Codepage="1251"> <Package InstallerVersion="200"

How to install Universal Oracle Installer on Ubuntu?

China☆狼群 提交于 2019-12-12 22:40:07
问题 I can't run Oracle Universal Installer to get tnsping . I downloaded ouiosp220160.jar . This jar cannot be launched using java -jar, so I unpacked it as described on Oracle site, but there description for Solaris and Windows, I unpacked it and there is folder for Solaris which contains executable that I can't launch. 回答1: I used this article when did installation: Installing Oracle 11g R2 Express Edition on Ubuntu 64-bit it was some manual changes in settings that we had to make, so just go

Mac installers with pkgbuild: Do not execute preinstall and postinstall script in case of a downgrade

隐身守侯 提交于 2019-12-12 20:50:16
问题 I made a package with pkgbuild. In info.plist, BundleIsVersionChecked is set to true. My package contains a preinstall and postinstall script in the scripts folder. A downgrade of my application bundle is indeed prevented. But the preinstall and postinstall script is always run, even if the application bundle is not installed. How can I tell pkgbuild not to execute the preinstall and postinstall script when a downgrade is happening? 来源: https://stackoverflow.com/questions/20288834/mac

How to include the output of heat in a wix file? (No Visual Studio project)

陌路散爱 提交于 2019-12-12 18:05:44
问题 I need to build an installer and, for a variety of reasons, I would like to avoid using the WiX project template. I'm perfectly happy to script this stuff myself and already have a custom build process for this to fit into. I believe I understand the role of WiX candle, heat, and light tools fine, I'm getting familiar with the wxs file format, and I can run heat to produce the file fragment outputs that I want. I have no idea however how to incorporate that into my wxs file. Presumably at

Enable MSI Logging with WIX by default

倖福魔咒の 提交于 2019-12-12 17:34:55
问题 I am currently writing an installer for my software, and would really like to log the install. I am using Wix. However, the only ways i have seen to log the install are to change the reg (as a global setting) and add it as a command from the command line using /l*v or something similar. what I would like to do, is log, as soon as the installer is run, only for that installer, without modifying the registry key for that single install. Is there anyway i can do this or something close to this?

Wix Installer - Create Folder hierarchy based on Property

丶灬走出姿态 提交于 2019-12-12 15:40:08
问题 I am using Wix 3.6 to create a setup. I am still learning as I go along. The information out there is still scattered around. I am just waiting for my Wix Developer Guide book arriving. I currently have a custom UI dialog where the user enters some application configuration. Part of that configuration is to specify a log folder. This at present this just sets a property [LogFolder]. This is defaulted to something like D:\Logs. I want the installer to create that directory when the setup is

Getting rollback in creating shortcuts on installation of node js in windows 7

可紊 提交于 2019-12-12 14:04:42
问题 I'm trying to install nodejs server on my Windows 7 machine. I've downloaded the latest version of node (node-v0.8.11-x64.msi) from the official site and tried to install it. When the process reaches "Creating of shortcuts " I'm getting rollback installation with an error. Does anybody has the same problem? 回答1: I simply removed the option of "creating shortcut to online documentation" during the installation. :) 回答2: The source of the error can vary, the best method to detect is to create a

How to run windows start service using inno setup?

冷暖自知 提交于 2019-12-12 13:36:49
问题 i want to run windows start service in the icon section through command prompt using inno setup.pls help me to solve this problem 回答1: You don't run things through the [Icons] section. If you want an icon to start a service, use something like: [Icons] Name: {group}\Start Wibble service; Filename: net.exe; Parameters: "start wibbleservice"; Update after the question was clarified, but left here for posterity: If you want Inno to start the service, you either use the SCM API called from the