installation,windows-installer,installer,msiexec , install msi with a product code through msiexec


install msi with a product code through msiexec

Question:

Tag: installation,windows-installer,installer,msiexec

I am a new to msi installations through command prompt.Can anyone show me how to install an application with product code through msiexec. Currently I am using the command : msiexec /i "D:\msiexec\Calculator\CalculatorInstaller\CalculatorInstaller\Express\DVD-5\DiskImages\DISK1\CalculatorInstaller.msi" ProductCode="42F48712-5C2E-41D1-83CC-2D28C91C889A" but though it's getting installed, I am not able to verify that at HKEY_LOCAL_MACHINE>Software>Microsoft>Wow6432nodeMicrosoft>windows>Uninstall .

Please share your ideas.


Answer:

ProductCode is a private property and isn't being passed to the installer session. I don't see why you'd need it anyways as it's in the MSI that you are installing. You can uninstall using a ProductCode (by substituting it for the path to the MSI not by passing it as a property ) but you can't install by ProductCode (it wouldn't know how to find the MSI for that ProductCode ).

I'd log the install and read it to be sure but my hunch would be to look at the ALLUSERS property. I'm suspecting you are installing Per-User instead of Per-Machine and that's why you don't see it in the HKLM....Windows\CurrentVersion\Uninstall key.


Related:


Use Heroku binary instead of gem


ruby-on-rails,ruby,linux,heroku,installation
I have installed ruby 2.2.2 through RVM, and have also installed Heroku. I installed Heroku by downloading the most recent release from Github, installing the needed gems, and then symlinking it into /usr/bin/ so that it could be found when I needed to use the command. It worked initially, but...

Produce both versions x32 and x64 under PyInstaller


python,python-2.7,installation,pyside,pyinstaller
I have installed Python 2.7.xx x64 and trying to build executables with PyInstaller. Do I have any chance to build both artifacts x32 and x64 with my existing Python x64? Current PyInstaller script shown below in app.spec file: pyinstaller src/app.spec # -*- mode: python -*- import os import platform from...

Installing Ghost.py


python,installation,python-3.4,ghost.py
I have installed new system and time has come to install Python and modules I have lost.. I had no problems with BeautifulSoup but can't make Ghost.py into work! Using Fedora 21 and Python-3.4.3. I have tried pip install pyside and then pip install ghost but I guess it worked...

Theano installation, nvcc not in the path


python,installation,theano,nvcc
I have installed theano on windows7,64bit on winpython using their guide http://deeplearning.net/software/theano/install_windows.html and I thought it worked since when I ran their first example I did have the expected results and no errors. I wanted to go ahead and install the part: Configure Theano for GPU use but when I...

Get Offline Installation ID (Windows 8 or similar)


c#,windows,installation
Is it possible to get the Windows Offline Installation ID (OfflineInstallationId was found in slmgr.vbs)? This can be achieved on the command-line with: slmgr.vbs /dti This returns the Installation ID without spaces or dashes, is it possible to retrieve this in C#? I want to eventually have each block of...

Using python with a specific version of OpenCV


python,opencv,installation,virtualenv,opencv3.0
I am currently working on a project that add a new module to OpenCV 3.0 beta so I am trying to use my own compiled version with Python (just as a remark, the C++ version works). Since I don't want to mess up with versions of OpenCV and Python already...

How can a single installer 'Setup.exe' be used to install multiple instances of same application


windows-installer,installer,installshield,multiple-instances
I have created a installer of type InstallScript MSI installer using InstallShield 2008 and it is working. Now I want to install multiple instances of same product on same machine using same installer. I want to show them as a separate application in Add/Remove programs and also a separate directory...

Install windows 7 software on windows 8


windows-8,installation,inno-setup
I've tried to install my software built on Windows 7 on a PC having windows 8 and it failed. Unfortunately it was not an English Win8-Version so the error message told something like "Can't continue because the device is not identified". The message came right after starting the installer (exe-file)....

Different ways of hadoop installation


hadoop,installation
I'm new to hadoop and trying to install it on my local machine. I see that there are many ways in installing hadoop like install vmware Horton works and install hadoop on top of that or install Oracle virtual box , Cloudera and then Hadoop . My question is that...

Apache won't serve pages on my Raspberry Pi


php,apache,configuration,installation,raspberry-pi
I've installed PHP 5.6 on my Raspberry Pi (from the Jessie repo), as well as Apache2. When I access http://192.168.2.50/ (the Pi's IP-address) it's not serving the index.php or index.html file in ~/var/www/. Just an hour ago I was running PHP 5.4 from the Wheezy repo, this was working fine....

Error while running a basic wordcount program on Eclipse


java,eclipse,hadoop,installation
Let me inform you that I am a beginner in hadoop domain. So, I was referring to https://developer.yahoo.com/hadoop/tutorial/module3.html tutorial. I completed all the set up and just copied all the codes to my eclipse map-reduce project. No error is showing as far as wordcountmapper,wordcountreducer and wordcount.java files are concerned. Now,...

WiX - not executing custom action during update


wix,windows-installer,installer,custom-action
I have two custom actions (immediate and deferrend). I would like to skipping actions during upgrade. I tried: <Product Id="*" Name="$(var.ProductName)" Language="1033" Version="$(var.Version)" Manufacturer="$(var.Manufacturer)" UpgradeCode="{GUID}"> <MajorUpgrade DowngradeErrorMessage="Newer version is already installed." /> <Custom Action='CAa' After='InstallInitialize'>NOT Installed AND NOT PATCH</Custom> and: <Custom Action='CAa' After='InstallInitialize'>NOT Installed AND NOT...

install msi with a product code through msiexec


installation,windows-installer,installer,msiexec
I am a new to msi installations through command prompt.Can anyone show me how to install an application with product code through msiexec. Currently I am using the command : msiexec /i "D:\msiexec\Calculator\CalculatorInstaller\CalculatorInstaller\Express\DVD-5\DiskImages\DISK1\CalculatorInstaller.msi" ProductCode="42F48712-5C2E-41D1-83CC-2D28C91C889A" but though it's getting installed, I am not able to verify that at HKEY_LOCAL_MACHINE>Software>Microsoft>Wow6432nodeMicrosoft>windows>Uninstall . Please...

Is NSIS 3.0b1 stable for production usage?


installation,installer,nsis
I want to try out NSIS install system. On the download page http://nsis.sourceforge.net/Download There are version 2.46 ( last updated in 2009 ) , and the newer 3.0b1 . It seems the newer one is in beta and I worry about stability issues. I wonder if any of you have...

How to run a website that uses npm to start the server


node.js,installation,website,server,setup-deployment
Me and a few friends have been working on developing some experiments. I want to put them up on a URL so we can all share them with other people. I however, have no experience setting a server up for anything other then static web pages. Within my package.json file...

Issue faced during uninstall MSI using its Product Code in c#(DTF)


c#,windows-installer,dtf,wix3.9
I am creating a CustomBA which will replace the existing install shield Bootstrapper( I don't really know what it's called). We are installing the same number of MSI as the install shield use to do, so no problem in that. All the MSI entries in the ARP are removed, as...

Running msi causes “module failed to register” in 32bit win7,but works in 64bit win7


c++,windows,dll,windows-installer
I'm trying to deploy my project and create an installer. I've created a msi file in vs2005. When running the .msi setup wizard, i'm getting the error: "Module abc failed to register. HRESULT -2147010895. Contact your support personnel." The module that failed to register is a C++ com dll.But in...

Want to create mysql user in installation with full Privileges In NSIS


mysql,windows,windows-installer,nsis
I am using following code but did not succeed, please help !define deflogin root !define defpassword mysqlpassword !define HOSTPORT "%" ExecWait '$folder\bin\mysql --user=${deflogin} --password=${defpassword} --execute="grant all privileges on *.* to $\'${login}$\' @ $\'${HOSTPORT}$\' identified by $\'${password}$\'"' ${login} & ${password} taken by a custom .ini configuration by following process Function .onInit...

Service dependencies are causing my wix msi to force a reboot on uninstall


wix,windows-installer
I have spent the past 3 days running in-place while tracking down the cause of forced reboots on my system, but have finally narrowed it down to a very specific cause. I have a service suite that I am working on in Wix. There are 10 msi's that are all...

Updating Ubuntu 11.04 to 12.04 preferrably through command line


linux,command-line,installation,command-line-arguments,updates
I am attempting to update my Ubuntu Natty Narwhal (11.04) to Precise Pangolin (12.04). When I checked the Update Manager, I was told I couldn't do that. I had to get to 11.10 first, if I want it safely. Sounds like a plan. And so I've ran through the Update...

Error creating an eclipse library project for v7 appcompat


android,installation,appcompat
Creating a "library project" in eclipse for the v7 AppCompat I get the following error: [2015-06-02 14:40:27 - android-support-v7-appcompat] Unable to resolve target 'android-19' [2015-06-02 14:40:27 - android-support-v7-appcompat] WARNING: unable to write jarlist cache file C:\Program Files (x86)\Android\android-sdk\extras\android\support\v7\appcompat\bin\jarlist.cache I did it exactly as desribed in here, but it won't work....

How to uninstall a program using C#? [duplicate]


c#,visual-studio,visual-studio-2012,command-line,windows-installer
This question already has an answer here: How to uninstall MSI using its Product Code in c# 4 answers I'm trying to uninstall a program using C# via Visual Studio and possibly CMD. I made several attempts but could not getting anything to go. Attempt #1: RegistryKey localMachine =...

SOLVED: Installing lxml, libxml2, libxslt on Windows 8.1


python,windows,module,installation,lxml
After additional exploration, I found a solution to installing lxml with pip and wheel. Additional comments on approach welcomed. I'm finding the existing Python documentation for Linux distributions excellent. For Windows... not so much. I've configured my Linux system fine but I need some help getting a Windows 8.1 tablet...

Trigger uninstall and Repair of previously installed product


wix,windows-installer,wix3.8
i am new to Wix toolsets. i have successfully made my first installer in Wix but now i am confused about my software updates which usually are minor. in my installer i want to check if user have any older version installed then i want to show him three options...

SQL create column with select in select and subtract this with another column, to create a new column


sql,sql-server,installation,isnull
I'm new at SQL and I have a question about my code as shown underneath: SELECT membernummer, name, c.ammount, c.terms, (select SUM(isnull(amount, 0)) from payments p where m.member_ID = p.member_ID and p.year = c.year) AS payed From member m INNER JOIN contribution c ON m.member_ID = c.member_ID where c.year =...

WiX: VS2013 How to change output directory


visual-studio-2013,wix,windows-installer
I have a WiX project in VS2013. The output directory in wixproj is: bin\$(Platform)\$(Configuration)\ by fact it is \bin\x64\Release\en-us How and where I can change the real output to \bin\x64\Release\ ?...

cuda 7.0 installation compatible hardware not found


windows,cuda,installation
I have a GeForce 8400 GS and compatible updated driver 341.44 installed on my Windows 8.1 x64 machine. When I tried to install CUDA 7.0 it showed that it could not find compatible hardware but I went along and chose to not install the provided driver and looking at this...

Database changes management in installer updates


sql,wix,windows-installer,wix3.8
How can I run a series of database scripts depending on some condition? Basically I want to check build installed on user's machine and then want to run all the scripts till the build in the installer. Say user has build number 4.10 installed and if he goes to install...

WIndows Installer Putting shortcuts into a custom folder with a property


windows-installer,installshield
I am building an installer with InstallShield. It is a basic MSI project (I'd rather not have any dependencies on InstallShield that might make it more difficult to move to WiX in the future). I am attempting to put some shortcuts into a custom folder that I'd like to locate...

spark-1.4 with zeppelin installation


installation,apache-spark,apache-zeppelin
After successfully install spark 1.4, I tried to install Apache Zeppelin for note-book like utility. From some other online resources, I download and unzip the zeppelin source and started to compile with Maven via $ mvn clean install -Pspark-1.4 -DskipTests (spark home exported in the environment) I got nice INFO...

visual studio 2013 update 2 taking to long to configur


visual-studio-2013,installation
I have installed visual studio 2013 version 2 and my installation process is stuck and its not giving me any error... Help me what should I do? ...

Not able to format namenode in hadoop-2.6.0 multi node installation


ubuntu,hadoop,installation,yarn
I am trying to install Hadoop-2.6.0 in ubuntu 14-04 machine. 5 node cluster. But when I format the namenode, it gives me the following error No command 'hdfs' found, did you mean: Command 'hfs' from package 'hfsutils-tcltk' (universe) Command 'hdfls' from package 'hdf4-tools' (universe) hdfs: command not found And in...

How to understand which MSI file start


windows,windows-installer
I have W8.1 and i need know which MSI file start when OS opening because installation is corrupted and all time i need press cancel. I want delete it to stop starting with Explorer.exe I already tried to deactivate all process in tab process of Task Manager but don't work....

Not able to update ADT


android,eclipse,installation,adt
I get this error while installing the previous version. An error occurred while uninstalling session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86 1.0.0.I20120608-1200 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file D:\ADT\android\adt-bundle-windows-x86-20130219\eclipse\eclipse.exe failed. Can not remove :...

Upgrading MSI throwing 'method not found' error


c#,visual-studio-2013,windows-installer
I have a project with two class libraries. I used 'Setup and deployment tool' to make MSI files. Initially, I have build v 1.0.0 and installed in a machine. After that, I have made few changes in my libraries and made a build v 1.0.1. When I tried to install...

Single Package Authoring


wix,windows-installer
I am trying to create Single Package Authoring installation using following tutorial - http://www.egoroff.spb.ru/blog/62003.html Main wix file is following: <?xml version='1.0' encoding='windows-1252'?> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> <Product Name='Foobar 1.0' Id='GUID' UpgradeCode='GUID' Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme Ltd.'> <Package Id='*' Keywords='Installer' Description="Acme's Foobar 1.0 Installer" Comments='Foobar is a registered trademark of Acme Ltd.'...

Phantom Mercurial, How to remove?


ubuntu,installation,mercurial,tortoisehg
I'm trying to install TortoiseHg on Ubuntu 14.04. It went fine, but trying to open it complains about having an unsuported Mercurial version (3.4.1). I removed via: sudo apt-get remove mercurial sudo apt-get purge mercurial sudo dpkg -r mercurial sudo dpkg --purge mercurial It comes out as successful, but if...

PyInstaller output artifacts in different folders


python,python-2.7,installation,pyinstaller
I need to build both executables x32 and x64 and using following commands for it: echo ******************** Starting buiding x32... ****************** c:\Anaconda32\Scripts\pyinstaller.exe src/app.spec echo ******************** Application was built ****************** echo ******************** Starting buiding x64... ****************** pyinstaller src/app.spec echo ******************** Application was built ****************** however binaries of above commands saving to...

Python: Trouble with dill installation


python,python-3.x,build,installation,dill
I am currently working on a big game project in python and the need for storing my classes has just appeared. I looked into the net and tried out pickle and cpickle but given the structure of my classes they weren't good enough. so I am currently trying to use...

How to change Install button display text conditionally


wix,windows-installer,wix3.8
Is it possible to change the "Install" button display text based on some condition i.e if fresh install then "Install" if upgrade then "Update"? Basically, on major upgrade i am skipping some of my custom dialogs (which are shown on fresh installation) so on InstallReady dialog i want to show...

InstallShield exclude files based on language selection


localization,installation,installshield,installshield-2012
In an InstallSheild (2012 Spring to be specific) Basic MSI project, is it possible to exclude files that are installed based on the language selection when a user runs the installer? If not, is my only option to write an InstallScript method to check ProductLanguage and have it clean up...

Oracle cilent and Perl installation on Centos


oracle,perl,oracle11g,installation
I'm not abble to install DBD-Oracle. I have installed the oracle client following these steps: I have downloaded the instant Client ZIP file. Unziped the packages into directory "/opt/oracle/product/instantclient_12_1". Created the appropriate libclntsh.so and libocci.so links : cd /opt/oracle/product/instantclient_12_1 ln -s libclntsh.so.12.1 libclntsh.so ln -s libocci.so.12.1 libocci.so Setted the environment...

Error allocating file install folder in WIX 3.9


directory,wix,windows-installer
I am setting up the installation locations for my installer. However, it throws an error when I try to set the locations. Source code: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="Wix_setup" Language="1033" Version="1.0.0.0" Manufacturer="Frank Jansen" UpgradeCode="37a42e55-dea8-47da-8f4f-fb065dd38a9e"> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <MajorUpgrade DowngradeErrorMessage="A newer version of...

How do I install homebrew on mac?


ruby,osx,installation,homebrew,command-prompt
I tried the command ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 ==> The following directories will be made group writable: /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig ==> The following directories will have their group set to admin: /usr/local/include /usr/local/lib /usr/local/lib/pkgconfig but I have no idea what that...

How to add several ports to FirewallException in Wix?


installation,wix,windows-installer,installer,custom-action
I use property PORTS to pass some http ports to my installation. Then these ports will be stored into init file and used by the application. I need to add these ports to FirewallException? But following code does not work: <Component Id="fwException" Guid="MyGUID"> <Condition>Privileged</Condition> <RegistryKey Root="HKCU" Key="Software\Company\[ProductName]"> <RegistryValue Name="fwException" Value="1"...

Create a new user with an underscore in the name


xml,wix,windows-installer
I am trying to create a user in WiX, using the following XML: <Component Id="cmp_MyNewFolder" Guid="*"> <util:User Id="MyNewUser" CreateUser="yes" Name="DUMMY&#95;USER" Domain="[ComputerName]" Password="" PasswordNeverExpires="yes" RemoveOnUninstall="yes" UpdateIfExists="yes" /> <CreateFolder> <util:PermissionEx GenericAll="yes" User="DUMMY&#95;USER"/> </CreateFolder> </Component> I've removed the GUID and password for this post, so the issue isn't with those. The problem is...

how to install packages from pypi to anaconda?


python,installation,packages,anaconda,pypi
I've been using Anaconda in Window for all my python coding. I've got a few questions: How do I check all the existing packages/modules I've installed? What commands do I need to type? How do I install third-party packages, especially those available in pypi? Sometimes when I download some packages...

Installing pylab on Mac OSX


python,osx,matplotlib,installation,install
I've looked at many questions on this issue, but none seem to help. I am new to Python and programming. I am not sure if installing matplotlib is what I need to do, but it was the link given in my textbook (I am self studying, so there's no one...