Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Add HKLM keys via installation script

$
0
0

I have a software installation script which I am pushing out as a SCCM application.  When I run the script manually on the computer the registry keys are added with no problems.  When I run the application through SCCM, the software installs but the registry keys do not.

What am I doing wrong?

The application calls install.bat which consists of:

@echo off
Title Installing ChemOffice 15    
@echo Installing ChemOffice 15
@echo.
@echo Please do not close this window as it will close automatically
@echo once the installation has completed.
CambridgeSoft_ChemOffice_Professional_2015.msi /qb!
CambridgeSoft_ChemDraw_ActiveX_Enterprise_Constant_15.0.msi /qb!
reg import license.reg
cacls "C:\Program Files\CambridgeSoft\ChemOffice2015" /e /g "users":f
cacls "C:\Program Files (x86)\CambridgeSoft\ChemOffice2015" /e /g "users":f
rem exit 0



Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>