-
1. Re: Msiexec.exe is not recognizing in Custom Application Package
Gregory Rodrigues Jul 28, 2014 2:18 AM (in response to Nishanth Kumar G)That is because the msiexec.exe is not in the JVM path. If you want the tuner to use the system path you need to set a tuner property marimba.launch.inheritPath=yes
marimba.launch.inheritPath
specifies whether the system variable PATH (and the directory paths
specified in that variable) is included in the paths that the Java Virtual
Machine (JVM) can see. For example, if you have a custom channel and
you want to use functions in .dll and .class files with directory paths
that are specified in PATH, then set this property to yes.
Valid value: yes or no
Default value: no
Hope this helps
-Greg
-
2. Re: Msiexec.exe is not recognizing in Custom Application Package
Nishanth Kumar G Jul 28, 2014 2:31 AM (in response to Gregory Rodrigues)Hi Greg,
Thanks a lot
I have few doubts regarding this
1) if we add that property(marimba.launch.inheritPath=yes) across all endpoints than will it be there any impact ?
2) can we add msiexec.exe in JVM Path ?
among these two what is the best way(with Less impact) to proceed for uninstallation.
Regards,
Nishanth Kumar G
-
3. Re: Msiexec.exe is not recognizing in Custom Application Package
Gregory Rodrigues Jul 28, 2014 2:42 AM (in response to Nishanth Kumar G)1 of 1 people found this helpfulActually NO there will not be any impact it just allowing the tuner to additionally check the System Path Variable for exe'es. You could add the msiexec.exe into the package as a workaround however its going to make the package bigger and also makes it redundant to do something like that because the exe should already be available on the machine you are deploying the package too.
Deploying the property is a the best method for installing packages that use binaries already in the system path.
-
4. Re: Msiexec.exe is not recognizing in Custom Application Package
Nishanth Kumar G Jul 28, 2014 2:44 AM (in response to Gregory Rodrigues)Thanks a lot
We will proceed with the deployment of property.
Regards,
Nishanth Kumar G
-
5. Re: Msiexec.exe is not recognizing in Custom Application Package
ram NameToUpdate Jul 28, 2014 5:05 AM (in response to Nishanth Kumar G)You can also use below in the .bat file
@echo OFF
cd\
C:
%windir%\system32\MsiExec.exe /X {product code} /qn
-
6. Re: Msiexec.exe is not recognizing in Custom Application Package
Gregory Rodrigues Jul 29, 2014 2:17 AM (in response to ram NameToUpdate)yep that would work too.. you are basically hardcoding the path of the exe in the script.