Install and Configure Wise Package Studio (Win 7)

1. Pre-requisite: MSDE On Windows 7, Wise Package Studio can be installed in 2 ways.   First method: the client/server mode. In this case, Wise Package Studio is first installed on a computer in server mode, then clients are installed on packaging machines. This method allows to configure Wise Package Studio only once on the … Read more

Working on MSI with InstEd-It

Working on MSI or MST with InstEd It, free MSI editor built for professionals. . 1. Insted It ! InstEd is a free MSI editor built for professionals. It’s a good free alternative to Wise Package Studio or Admin Studio. Official website: http://www.instedit.com . . MSDN of Installer Database Tables Reference: http://msdn.microsoft.com/en-us/library/aa368259.aspx MSI elements (files, … Read more

Snapshot Capture with Wise

1. Pre-requisites Creating a MSI file using the Snapshot Capture feature of Wise Package Studio requires a clean machine to ensure all the components are captured (a component will not be captured if already present on the machine). To avoid pollution as much as possible, deactivate all components running in background (Defender, Windows Updates, SCCM … Read more

Call VBS From Custom Action with Wise

1. Script Creation Create the VBS script. For example : MyScript.vbs Warning: Wise Package Studio does not recognize Wscript. So the following command: Set WshShell = WScript.CreateObject(“WScript.Shell”) Must be written like this: Set WshShell = CreateObject(“WScript.Shell”) . . 2. Custom Action Creation In Windows Installer Editor Go to the MSI Script menu Select the Installation Mode: … Read more

Wait for a Process to Finish with VBScript

Sometimes the .exe process exit directly after launched. In this case, it’s necessary to wait until the process .exe not be there anymore to validate that the command is executed correctly. Here is a possibility to wait for a process to finish before continuing using VBScript. In the following example, we wait the process notepad.exe … Read more

Install Packages with VBScript

This script is a template of package launcher. It gathers many functions allowing to install a package using generic VBScript functions: Check if a package is installed (MSI) using the registry Uninstall a package if installed EXE silent uninstallation Single MSI installation MSI + MST installation EXE silent installation EXE + ISS response file silent … Read more

PADT – Registry

PowerShell Application Deployment Toolkit is a tool very powerful to manage the registry: Adding, modifying, deleting registry keys and registry values Adding HKEY CURRENT USER registry entries for all existing user profiles + default user, to avoid Active Setup Modifying the value of environment variables (for example the PATH environment variable)   1. Import REG … Read more

PADT – System Commands

PowerShell Application Deployment Toolkit is a tool very powerful to manage systems: Silent install commands Start or stop services Kill processes Wait a process not existing anymore before continuing Manage scheduled tasks Environment variables There are many possibilities, not forgetting that all old batch commands are compatible with PowerShell too. Here is a memento of … Read more

PADT – MSIEXEC

PowerShell Application Deployment Toolkit is a tool very powerful to use MSIEXEC: Installing using MSI Installing using MSI with MST Patching using MSP Uninstalling… Log files are created in the same folder as the log file of the main script.The log folder is defined in the file AppDeployToolkit\AppDeployToolkitConfig.xml. For example: <Toolkit_LogPath>$envSystemDrive\Logs</Toolkit_LogPath>   MSI MSI must be … Read more