Building packages with WPKG - Advance Tutorial.
The purpose of this tutorial is to give guidance on how to create WPKG packages. It will discusses how to use the check commands, the install commands. It will give you a general overview of how to use and created packages. I will also look at checking files for silent install switches. Then we will put it all together!
This video will teach you how to identify the differnet parts of the WPKG package.
id - unique to each package - used in the profile to identify the install package.
name - Used as a full name
revision - used to show the current working revision. WPKG uses this vs. the local copy and will install updates automatically.
reboot - tells it to reboot the computer
priority - a custom, but relative number for prioritizing your package installs
execute - once or always
Registry - checks a registry condition for information
File - checks if a file exists r looks at file information like version number
UnInstall - checks the uninstall registry - needs to have the execute name of the program as it exists in the uninstall
Execute - Runs a scripts and waits for a return
Logical - A logical check can check several of the above to determine install status
Install - executes a script, msi, command, or executable
Upgrade - executes a script, msi, command, or executable (for a revision update)
Uninstall - removes applications if removed from a profile
example:
Show/Hidden xml code<?xml version="1.0" encoding="UTF-8"?>
<packages>
<!-- These first set of packages are only needed once -->
<package id="program" name="Program to Install" revision="2" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Program1.2.6" />
<install cmd='%SOFTWARE%Programprogram-win-1.2.6.exe /sp- /silent /norestart' />
<remove cmd='%PROGRAMFILES%Programunins000.exe /silent' />
</package>
<!-- First set of packages ends-->
</packages>
Download the Universal Silent Switch Finder as used in my video here!
Universal Silent Switch Finder
Posted at 2012-01-20 19:56:11
I can not thank you adequately for the posts on your web site. I know you'd put a lot of time and effort into them and hope you know how much I appreciate it. I hope I'll do exactly the same for someone else at some point.
Welcome to my blogger registered investment advisor.
Joseph albert
Posted at 2012-03-13 06:41:55
hi,
i'm testing the WPKG and it's working. but i want to use the wpkgexpress as a inteface web. the problem is when i add a porifil for example in express database(wpkgexpress database), the profil.xml dosn't change. same for other file's.
can you help to resolve this problem.
thanks
Reply to comment