Microsoft Intune
Deploying Password Boss using Intune
Table of Contents
Microsoft Visual C++ 2013 Redistributable Instructions
Click here for the Intune File
- Click on the Apps tab.
- Click on the Windows tab under the “By Platform” header.
- Click the +Add button, and under the “Select app type” column, click the “Window App (Win32)” Option.
- In the “Add App” new window, you are going to click on the blue “Select app package file” link.
- Then, choose to Open the vcredist_x86 packaged Intune file.
- Under the App Information tab, only fill in the following:
- Name: Same Name as File
- Description: Same Name as File
- Publisher: Microsoft
- Click Next, and under the “Program” tab, enter the following:
- Install Command: vcredist_x86.exe /install /quiet /norestart (this is a silent installer)
- Uninstall Command:
"%ProgramData%\Package Cache\{9dff3540-fc85-4ed5-ac84-9e3c7fd8bece}\vcredist_x86.exe" /uninstall /quiet /norestart - Install Behavior: System
- Device Restart Behavior: Nothing specific action
- Click Next, and under the “Requirements” tab:
- Operating system architecture: x86,x64
- Minimum operating system: Windows 10 1607
-
Click Next, and under the “Detection Rules” tab:
- Rules format: Use A custom Detection Script
- Run script as 32-bit process on 64-bit clients: Yes
- Enforce script signature check and run script silently: No
- Script Content:
## Check for Microsoft Visual C++ 2013 Redistributable (x86) (Registry Detection Method)
$VC2013x86 = Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall","HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | Get-ItemProperty | Where-Object {$_.DisplayName -like 'Microsoft Visual C++ 2013 Redistributable (x86)*' } | Select-Object -Property DisplayName, DisplayVersion, PSChildName
$VC2013x86.DisplayVersion
$VC2013x86.PSChildName
## Create Text File with Microsoft Visual C++ 2013 Redistributable (x86) Registry Detection Method
$FilePath = "C:\Windows\Temp\VC2013_x86_Detection_Method.txt"
New-Item -Path "$FilePath" -Force
Set-Content -Path "$FilePath" -Value "If([Version](Get-ItemPropertyValue -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$($VC2013x86.PSChildName)','HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$($VC2013x86.PSChildName)' -Name DisplayVersion -ea SilentlyContinue) -ge '$($VC2013x86.DisplayVersion)') {"
Add-Content -Path "$FilePath" -Value "Write-Host `"Installed`""
Add-Content -Path "$FilePath" -Value "Exit 0"
Add-Content -Path "$FilePath" -Value "}"
Add-Content -Path "$FilePath" -Value "else {"
Add-Content -Path "$FilePath" -Value "Exit 1"
Add-Content -Path "$FilePath" -Value "}"
Invoke-Item $FilePath
- Skip the “Dependencies” tab since you will not need this until you add the preinstall and client install items.
- Add groups under the “Assignments” tab otherwise, skip this tab.
- Click Next, to see the “Review + create” tab and finalize the pre-install.
Password Boss Pre-Installer Instructions
- Click on the Apps tab.
- And, then click on the Windows tab under the “By Platform” header.
- Click the +Add button, and under the “Select app type” column, click the “Window App (Win32)” Option.
- In the “Add App” new window, you are going to click on the blue “Select app package file” link.
- Then, choose to Open the Pre-Installer packaged Intune file. The file appears under the “Add App” page’s App Information tab.
- Under the App Information tab, only fill in the following:
- Name: Same Name as File
- Description: Same Name as File
- Publisher: Password Boss
- Click Next, and under the “Program” tab; enter the following:
- Install Command: PBPreinstaller.exe (this is a silent installer)
- Uninstall Command: PBPreinstaller.exe /uninstall
- Install Behavior: System – Use local admin account to Pre-Install
- Device Restart Behavior: Nothing specific action
- Click Next, and under the “Requirements” tab:
- Minimum for your internal environment.
- Click Next, and under the “Detection Rules” tab:
- Rules format: Manually configure detection rules
- Click on the “+ Add” link, and then under the “Detection rule” column, select the following:
- Rule type: Registry
- Key path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Passwordboss
- Value Name: PreInstall
- Detection Method: String comparison
- Operator: Equals
- Value: True
- Click Next, and under the “Dependencies” tab:
- Choose: vcredist_2013x86.exe Automatically Install
- Skip the “Supersedence” tab and/or the “Assignments” tab, unless you need to add a Group within the “Assignments” tab. Review
- Add groups under the “Assignments” tab; otherwise, skip this tab.
- Click Next, to see the “Review + create” tab and finalize the pre-install.
Password Boss Installer Instructions
- Click on the Apps tab again.
- And, then click on the Windows tab under the “By Platform” header
- Click the +Add button, and under the “Select app type” column, click the “Window App (Win32)” option.
- In the “Add App” new window, you are going to click on the blue “Select app package file” link.
- Then, Open the PB Desktop Installer package InTune file.
-
Under the “App Information” tab, only fill in the following:
- Name: Password Boss Desktop Application
- Description: Same Name as File
- Publisher: Password Boss
- Click Next, and under the “Program” tab enter the following:
- Install command: Password_Boss.exe /q2
- Uninstall command: $LocalAppData$\PASSWO~2\UNINST~1\{2f4b8~1\Setup.exe /remove /q
- Install behavior: User
- Device restart behavior: App install may force a device restart
- Click Next, and under the “Requirements” tab:
-
Click Next, and under the “Detection rules” tab, fill in the following:
- Rules format: Manually configure detection rules
- Type: Registry
- Path/Code: Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2F4B8122-4BD2-43A9-9F18-571BE0D29C7C}
- Value name: NA
- Detection method: Key Exists
- Associated with a 32-bit app on 64-bit clients: NO
- Click Next, and under the “Dependencies” tab:
-
Choose:
- Password Boss Pre-Installer Automatically Install
- vcredist_2013x86.exe Automatically Install
- Skip the “Supersedence” tab and/or the “Assignments” tab unless you need to add a Group within the “Assignments” tab. Review
- finalize the installer under the “Review + Create.”