Hello,
Could somebody confirm me that Parameter DeploymentTypeName missing (again) from Add-CMDeploymentType after applying SP1 on R2CU5 (so sccm 2012 R2 P1)
now the name is always " - script installer"
Thanks
Technology Tips and News
Hello,
Could somebody confirm me that Parameter DeploymentTypeName missing (again) from Add-CMDeploymentType after applying SP1 on R2CU5 (so sccm 2012 R2 P1)
now the name is always " - script installer"
Thanks
Hello Peter,
Thanks, but always the same issue; before it was working.
Example:
$SCCMSiteCode="Pri"
$SccmFQDNServerName="SCCMPri.SCCM.BE"
$Application_Name="Adobe Flash Player ActiveX"
$DRVersion="18.0.0.194"
$DeteciontKey="HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayerActiveX\Version"
$DeploymentType_Name="$Application_Name - $DRVersion"
$ExeName="install_flash_player_15_active_x-$DRVersion.exe"
$InstallProgramCMD="$ExeName -install"
$UninstallProgramCMD="$ExeName -uninstall"
$SourcePath="\\SCCMPri\Sources$\Core Applications\Adoble_Flash_Player_active_x\$DRVersion"
Add-CMDeploymentType `
-ApplicationName "$Application_Name" `
-DeploymentTypeName "$DeploymentType_Name" ` -ContentLocation "$SourcePath" `
-ScriptInstaller `
-InstallationProgram "$InstallProgramCMD" `
-UninstallProgram "$UninstallProgramCMD" `
-RunInstallationProgramAs32BitProcessOn64BitClient $False `
-EstimatedInstallationTimeMinutes 5 `
-MaximumAllowedRunTimeMinutes 15 `
-DetectDeploymentTypeByCustomScript `
-ScriptType VBScript `
-ScriptContent "$Script_Content" `
-RunScriptAs32bitProcessOn64bitClient $True `
-AllowClientsToShareContentOnSameSubnet $False `
-PersistContentInClientCache $False `
-InstallationBehaviorType InstallForSystem `
-InstallationProgramVisibility Hidden `
-LogonRequirementType WhereOrNotUserLoggedOn `
-RequiresUserInteraction $False;
The Deployment type is well created but with " - script installer" as name
Something missing or wrong ?
Thanks
Hello Peter,
Thanks, but always the same issue; before it was working.
Example:
$SCCMSiteCode="Pri"
$SccmFQDNServerName="SCCMPri.SCCM.BE"
$Application_Name="Adobe Flash Player ActiveX"
$DRVersion="18.0.0.194"
$DeteciontKey="HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayerActiveX\Version"
$DeploymentType_Name="$Application_Name - $DRVersion"
$ExeName="install_flash_player_15_active_x-$DRVersion.exe"
$InstallProgramCMD="$ExeName -install"
$UninstallProgramCMD="$ExeName -uninstall"
$SourcePath="\\SCCMPri\Sources$\Core Applications\Adoble_Flash_Player_active_x\$DRVersion"
Add-CMDeploymentType `
-ApplicationName "$Application_Name" `
-DeploymentTypeName "$DeploymentType_Name" ` -ContentLocation "$SourcePath" `
-ScriptInstaller `
-InstallationProgram "$InstallProgramCMD" `
-UninstallProgram "$UninstallProgramCMD" `
-RunInstallationProgramAs32BitProcessOn64BitClient $False `
-EstimatedInstallationTimeMinutes 5 `
-MaximumAllowedRunTimeMinutes 15 `
-DetectDeploymentTypeByCustomScript `
-ScriptType VBScript `
-ScriptContent "$Script_Content" `
-RunScriptAs32bitProcessOn64bitClient $True `
-AllowClientsToShareContentOnSameSubnet $False `
-PersistContentInClientCache $False `
-InstallationBehaviorType InstallForSystem `
-InstallationProgramVisibility Hidden `
-LogonRequirementType WhereOrNotUserLoggedOn `
-RequiresUserInteraction $False;
The Deployment type is well created but with " - script installer" as name
Something missing or wrong ?
Hello Peter,
Thanks, but always the same issue; before it was working.
Example:
$SCCMSiteCode="Pri"
$SccmFQDNServerName="SCCMPri.SCCM.BE"
$Application_Name="Adobe Flash Player ActiveX"
$DRVersion="18.0.0.194"
$DeteciontKey="HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayerActiveX\Version"
$DeploymentType_Name="$Application_Name - $DRVersion"
$ExeName="install_flash_player_15_active_x-$DRVersion.exe"
$InstallProgramCMD="$ExeName -install"
$UninstallProgramCMD="$ExeName -uninstall"
$SourcePath="\\SCCMPri\Sources$\Core Applications\Adoble_Flash_Player_active_x\$DRVersion"
Add-CMDeploymentType `
-ApplicationName "$Application_Name" `
-DeploymentTypeName "$DeploymentType_Name" ` -ContentLocation "$SourcePath" `
-ScriptInstaller `
-InstallationProgram "$InstallProgramCMD" `
-UninstallProgram "$UninstallProgramCMD" `
-RunInstallationProgramAs32BitProcessOn64BitClient $False `
-EstimatedInstallationTimeMinutes 5 `
-MaximumAllowedRunTimeMinutes 15 `
-DetectDeploymentTypeByCustomScript `
-ScriptType VBScript `
-ScriptContent "$Script_Content" `
-RunScriptAs32bitProcessOn64bitClient $True `
-AllowClientsToShareContentOnSameSubnet $False `
-PersistContentInClientCache $False `
-InstallationBehaviorType InstallForSystem `
-InstallationProgramVisibility Hidden `
-LogonRequirementType WhereOrNotUserLoggedOn `
-RequiresUserInteraction $False;
The Deployment type is well created but with " - script installer" as name
Something missing or wrong ?
I have stopped with this;
When the new deployment type is created, i search after this one in lowest priority, then i take the name, the i cahnge it:
Search for latest
$Application_Name="Adobe Flash Player ActiveX"
$DRVersion="15.0.0.167"
$DeploymentType_Name="$Application_Name $DRVersion"
$NewDeploymentTypeName = (Get-CMDeploymentType -ApplicationName "$Application_Name")
$NewDeploymentType_Name=$NewDeploymentTypeName.Item($NewDeploymentTypeName.getupperbound(0)).LocalizedDisplayName
Change:
$DeploymentType_Name="Adobe
Set-CMDeploymentType `
-ApplicationName "$Application_Name" `
-DeploymentTypeName "$NewDeploymentType_Name" `
-NewDeploymentTypeName "$DeploymentType_Name"
Have a nice day
I have stopped with this;
When the new deployment type is created, i search after this one in lowest priority, then i take the name, the i cahnge it:
Search for latest
$Application_Name="Adobe Flash Player ActiveX"
$DRVersion="15.0.0.167"
$DeploymentType_Name="$Application_Name $DRVersion"
$NewDeploymentTypeName = (Get-CMDeploymentType -ApplicationName "$Application_Name")
$NewDeploymentType_Name=$NewDeploymentTypeName.Item($NewDeploymentTypeName.getupperbound(0)).LocalizedDisplayName
Change:
$DeploymentType_Name="Adobe
Set-CMDeploymentType `
-ApplicationName "$Application_Name" `
-DeploymentTypeName "$NewDeploymentType_Name" `
-NewDeploymentTypeName "$DeploymentType_Name"
Have a nice day