Deploy with a Corporate licence
Use this guide to pilot a managed Windows rollout with Microsoft Intune or Configuration Manager (SCCM). Install Sambafied first, then activate it in the Windows account that will use the app. Activation is per Windows profile and requires the user to be signed in.
Before you deploy
- Ask Sambafied or your reseller for a signed, licensing-enabled Windows build
that supports silent Corporate activation and the matching
Invoke-CorporateLicenceActivation.ps1helper. Choose either Setup EXE or the full MSIX. For MSIX, make sure managed PCs trust the package signer and can install any required package dependencies. - Have your company's Corporate licence key available from an authenticated
secret source that the deployment script can access in the intended user's
context. Allow that user to reach the secret source and the licensing service
at
https://api.keygen.shover HTTPS. - Start with a small pilot group running the exact package you plan to deploy. Use a clean test profile or upgrade within the same package type. If you need to replace Setup with MSIX or vice versa, ask Sambafied or your reseller for a migration procedure that preserves connected work folders.
Install with Microsoft Intune
| Package | Intune configuration |
|---|---|
| Setup EXE | Wrap the signed EXE as a Windows app (Win32) using the Microsoft Win32 Content Prep Tool. Set Install behavior to User and run "Sambafied-Setup.exe" /S, substituting your build's actual installer filename. Configure detection for the expected executable and version under the user's %LOCALAPPDATA%\Programs\Sambafied. |
| Full MSIX | Upload the signed package as a Windows line-of-business app. Select User install context where available. If the package is provisioned to the device, confirm it is registered for the intended Windows user before activation. |
Assign the app to the pilot group. Run the activation script as a separate user-context step once installation detection succeeds. For an Intune PowerShell policy, set Run this script using the logged on credentials to Yes. Make the wrapper check for installation before it retrieves the key.
Win32 app setup · MSIX deployment · PowerShell script settings
Install with Configuration Manager
| Package | Configuration Manager deployment type |
|---|---|
| Setup EXE | Use Script Installer and set Installation behavior to Install for user. Use the silent Setup command and per-user detection described above. |
| Full MSIX | Import the full MSIX as a Windows app package. Use the package detection populated by Configuration Manager and verify registration in the intended user's profile. |
Deploy to your pilot user collection. Run the activation wrapper after the application is detected, using Install for user and Only when a user is logged on for a Script Installer deployment type. Device provisioning can stage the full MSIX before sign-in. Corporate activation still requires the intended user's session.
Configuration Manager application types and user experience settings · MSIX deployment
Activate in the Windows user session
Your wrapper should retrieve the key from your approved secret source as an
in-memory SecureString. In the same Windows PowerShell 5.1 process, call the
helper after the installed app is available:
& "$PSScriptRoot\Invoke-CorporateLicenceActivation.ps1" -InstallType Setup -LicenceKey $corporateKey
Use -InstallType MSIX for the full package. Keep the key out of packaged
files, command-line arguments, environment variables and logs. The helper
checks the installed app's signature and sends the key to the app through
standard input. The app saves the activation with Windows user-profile
protection. Silent activation accepts Corporate keys and refuses to overwrite
an activation for another key or licence type.
Report an activation failure to your management tool and retry the activation step separately. Check that the intended user is signed in, the correct package type is registered, the package and installed app signatures are trusted, and the secret source and licensing service are reachable. A repeat activation with the same Corporate key reuses a valid grant.
Verify the pilot and plan removal
- In the targeted Windows profile, confirm the expected app version and open About > Manage licence. Confirm the licence is active.
- Restart Windows and confirm the same profile can still use the licence. Check Adobe or AEM sign-in separately.
- Review the installation and activation results in your management console before adding users to the rollout. Check that deployment logs contain no key material.
Before removal, preserve pending work and follow the installation and data-retention guidance. For full MSIX, deactivate in the app before issuing the uninstall. The licence-aware Setup uninstaller performs deactivation automatically and requires internet access when an activation is saved.