Parameter DeploymentTypeName missing (again) from Add-CMDeploymentType after applying SP1 on R2CU5

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


June 27th, 2015 11:29pm

I've done the same upgrade, but with me the parameter DeploymentTypeName does exist. The difference is that I've also installed the System Center Configuration Manager Cmdlet Library. The System Center Configuration Manager Cmdlet Library checks for library updates on a daily basis, and notifies you to download the updated library.
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2015 2:16am

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


  • Edited by GVL 5 hours 49 minutes ago
June 28th, 2015 8:28am

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 ?


option Show-Command add-CMDeploymentType
All filled then execute -> same behaviour

Somebody succedded with this ? if yes can you send me the command ?

Thanks
  • Edited by GVL Monday, June 29, 2015 10:33 AM
  • Proposed as answer by GVL 22 hours 14 minutes ago
  • Unproposed as answer by GVL 22 hours 14 minutes ago
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2015 12:27pm

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 ?


option Show-Command add-CMDeploymentType
All filled then execute -> same behaviour

Somebody succedded with this ? if yes can you send me the command ?

Thanks
  • Edited by GVL Monday, June 29, 2015 10:33 AM
  • Proposed as answer by GVL Tuesday, June 30, 2015 9:32 AM
  • Unproposed as answer by GVL Tuesday, June 30, 2015 9:32 AM
June 28th, 2015 12:27pm

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

  • Proposed as answer by GVL 22 hours 9 minutes ago
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2015 5:37am

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

June 30th, 2015 9:36am

We are aware of this issue and it should be fixed in the next release.
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2015 6:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics