MSI, App-V, SCCM, Appsense, Citrix. This blog contains hints and tips on these technologies. Primarily it is an online notebook of items that I may need to refer to in the future, or things I constantly forget!
Wednesday, November 26, 2014
Uninstall Folder removal custom action
This custom action does flash up the command window during the uninstall. However, if the package is designed for silent SCCM installation it will not be seen.
Custom Action
0x0462
0x022 - local target exe and arguments
0x040 - continue on Return - ignore exit code
0x0400 - Deferred
Source - SystemFolder
Target - [SystemFolder]cmd.exe /c rd /s /q "[DirTableRef]"
Tuesday, November 25, 2014
Internet Explorer Admin Kit IEAK 11
The IEAK 11 may fail to install with
The Internet Explorer Administration Kit 11 requires that you have Internet Explorer 11 installed.
even if IE 11 is installed.
Create a transform to remove the launch condition check which does not appear to be evaluating correctly.
Monday, November 24, 2014
Command Lines
sysdm.cpl - System Properties
powercfg.cpl
inetcpl.cpl
ncpa.cpl
wscui.cpl - Action Center
desk.cpl - screen res
smscfgrc.cpl - SCCM 2012 Client Configuration Manager Properties
dsa.msc AD user computer admin (server tools)
gpmc.msc Group policy editor/viewer
check the uptime from Statistics since .... :
net statistics workstation
Windows 10/11
start the settings applet from command line
start ms-settings:
Friday, November 21, 2014
WSUS database reindexing
Windows Server Update Services
http://technet.microsoft.com/en-us/windowsserver/bb332157.aspx
Download and install to the WSUS 3.0 server in the following order
Microsoft® ODBC Driver 11 for SQL Server
Microsoft® Command Line Utilities 11 for SQL Server
Obtain the wsusmaintenance.sql script here and run as directed.
https://gallery.technet.microsoft.com/scriptcenter/6f8cde49-5c52-4abd-9820-f1d270ddea61
Tuesday, November 18, 2014
Disable MSI Uninstall
This is an unusual requirement but if there is a situation that justifies disabling the uninstall the following settings provide for it.
Set the standard action LaunchCondition in the InstallExcuteSequence table to have a condition of REMOVE~="ALL"
Set an entry in the LaunchCondition table
Not Installed Uninstall Disabled
If an uninstall is started the Condition of the LaunchCondition standard action in the InstallExecuteSequence table evaluates to TRUE
The LaunchCondition of Not Installed evaluates to FALSE and prevents the uninstall from continuing.
If /qb is used "Uninstall Disabled" is displayed to the user. /qn is fully silent. The uninstall Exit code will be 1603.
Wednesday, November 12, 2014
App-V 5 Launch Failure - may be due to a network failure
The application failed to launch.
This may be due to a network failure
Error code: 0x4C408B0C-80070002
The first response to this message would probably be a considering of weather it was actually a network failure. Generally this message would appear if the App-V package was unavailable.
However, this can occur if the package has managed to arrive in some partial or corrupted way. The following powershell commands can resolve this problem and re enable the application to launch correctly
Run as admin:
remove-appvclientpackage -name <PackageName>
Run as user:
get-appvclientpackage -name <PackageName>
this should verify that the package has been removed.
sync-appvpublishingserver 1
to refresh the available App-V packages on the client
get-appvclientpackage -name <PackageName>
to verify the the application is available again.
mount-appvclientpackage -name <PackageName>
to fully pull down the package prior to launching.
Friday, November 7, 2014
Autodesk products needing VC ++
The SCCM deployment
fails to install one of the prerequisite VC runtimes. Installed normally the complete process works
correctly.
Where an SCCM
deployed installation has occurred.
AutoCAD LT 2015 will fail to launch and generate an error message referring to MSVCP110.dll
To resolve this issue run the installation of the missing Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030.
It is in the source
media location .\Img\3rdParty\x64\VCRedist\2012UPD4\vcredist_x64.exe
It can be located in
the SCCM cache
C:\Windows\ccmcache\XX\Img\3rdParty\x64\VCRedist\2012UPD4\vcredist_x64.exe
Where XX is the
SCCM assigned folder name. The cache
location can be found by searching the cache for acadlt.msi
DWG TrueView 2015 also requires this prerequisite and gives a launch error referring to VCOMP110.dll
Subscribe to:
Posts (Atom)