App Packaging
App Packaging
Requirements
Tech Review
Test / Correct
Mass Deployment
Methods
Application Repackaging:
1. Apps which are only Exe. Capture changes after the installation.
a. Find if exe contains MSI (Turn off Windows installer from services).
b. Try installing exe, if the file contains msi, it will call Windows Installer service.
c. With exe packaging - No self-healing, no repair, difficult to handle upgrade, no rollbacks,
difficult to get reports of failed installation, no transparency of installed files/folder/registry.
Process
1. Pre-snapshot
a. Clean Machine snapshot.
b. Installation
2. Post-Snapshot
a. Snapshot After snapshot.
Change in system = Post Snapshot – Pre Snapshot = Change.msi
1. General Information.
2. Copy Product Code.
3. Install Condition -> To change the install location.
4. Title -> Change to Name of app.
5. Author -> Company Name Packaging Team.
6. Template summary -> Sows bits and 1033 as English language.
7. Add or Remove Programs ->
a. Disable Change Button.
b. Disable Remove Button.
c. only provide repair options.
8. Shortcut -> Make sure it is “Advertised” for self heal.
9. Registry
10. Property Manager.
a. Agree to licence -> Yes.
b. AllUsers ->1 (For machine level), 2 – Only for current user.
c. RebootYESNO -> No.
d. Add new property -> REBOOT : REALLYSUPRESS
e. Add ROOTDRIVE : C:\
11. Save.
1. Open Shield.
2. New Project -> Project Name.
3. Application Information.
4. Installation Designer.
a. Change Title and Subject.
b. Template summary (Intel)
c. Disable Change and Remove Button.
d. INSTALLDIR
5. Files and Folder -> Copy content to Destination computer folders.
6. Project Assistant -> Application Shortcuts -> Locate exe –> Rename ->
7. Installation Interview
a. License Agg -> No
8. Build Installation.
9. Tool -> Open Release File.
10. If exe -> Extract MIS from exe.
11. CMD: setupfile.exe
12. Go to %temp% to get msi file.
Silent Installation of EXE
PSADT
PSAppDeployToolkit_v3.9.3\Toolkit\Deploy-Application.ps1
Modify below.
Variable Declaration
1. $appVendor = “Google”
2. $appName=”Google Chrome”
3. $appVersion = “101.3”
4. $appArch=”x64”
5. Etc
Pre-Installation:
Installation:
Post Installation:
Pre-Uninstall
Uninstallation
Once all the details are completed, run cmd as admin and go to the folder Toolkit.
Deploy-application.exe Uninstall
App Deployment in Available Mode (App will be there in SC, user will have
option to install or uninstall)
Create Application
Under Application –> Create Application –> Give location -> Enter General Information -> Installation
Program (msiexec /i /q /norestart appname.msi /l*v c:\temp\log.log ) -> Install behavior ->
Deployments Types -> Update Content (New version get’s distributed after any changes)
Deploy
Right Click on app -> Deploy -> Collections (Choose Collections) -> Device Collections -> Windows 10
-> If you forgot to distribute before you can click on ‘Add’ and add distribution point -> Next -> Install
or Uninstall -> Purpose “Available” -> Leave schedule -> Display notifications -> Next -> Alerts -> Next
Global Conditions
For 32 bits: Hkey L M -> wow32Node -> Microsoft -> Windows -> CurrentVersion -> Uninstall ->
MIS -> Create from package definition as msi contains all the details automatically. Just give file
location and go next next next.