Table of Contents
Links
Wise Package Studio for Newbies zie ook de PDF
AppDeploy.com Message Boards - Newbie Question: Run External Apps within MSI
Wijs Repackagen, Eric Gabreëls
InstallSite: Windows Installer Merge Modules
Blogposts/Articles
2way Technology - Software Installation Using Group Policy Startup Scripts
eWall.org - Wise Package Studio - Using SetupCapture Wisely
Notitities
File associaties
Als je voor een project onder File Associations een bestandsextensie hebt toegevoegd, zorg er dan voor dat deze niet meer voorkomt onder de HKCU registry key. Dit om problemen na deployment te voorkomen.
Bron:Symantec Connect - File Association
Rechten op folders
Zorg bij het uitdelen van (extra) rechten op folders via Wise Package Studio 7 ervoor dat je alle andere rechten die de folder moet hebben ook opgeeft, dus ook Administrators/SYSTEM etc. Bij installatie worden namelijk alle rechten verwijderd en alleen de opgegeven rechten op de folder gezet.
Voor het toevoegen van Authenticated Users met Modify rechten aan een folder onder Program Files bijvoorbeeld moeten de volgende rechten toegekend worden:
- Administrators met Generic All
- Authenticated Users met Generic Execute, Generic Write, Generic Read en Delete
- Power Users met Generic Execute, Generic Write, Generic Read en Delete
- SYSTEM met Generic All
- Users met Generic Execute en Generic Read
Modify the INSTALLDIR
“By default, INSTALLDIR is set to the first directory you create under the Program Files folder on the Files or Web Files page.” -Source: F1 Help.
To change this to another directory do the following:
- Go to Setup Editor.
- Go to the Tables tab.
- Scroll down to the line with INSTALLDIR in the Directory column.
- Modify the DefaultDir field of that line.
Internal Error 2715
When you try to install an MSI that was just compiled and you receive “Internal Error 2715” then this could mean that a (manually added) file didn't end up in the compiled MSI.
Seen once after adding a VBScript where the “Source path file” turned into ..\..\..\Directory\name.vbs. After placing the vbs closer to the original source files (..\name.vbs) the error 2715 message went away. Maybe Wise Package Studio 7.0 SP3 doesn't like going back more than 2 directories from the current directory to pick up a file?
Package drivers
- Download the latest Windows Driver Kit (7.1.0 at the time of this writing). You'll need this for the DIFxApp merge module.
- Install the WDK with at least the Tools option.
- Copy the correct merge module from the matching architecture directory under c:\WinDDK\7600.16385.1\redist\DIFx\DIFxApp\MergeModule\ to your merge module directory or the MSI project directory.
- Start Wise Package Studio and from it the Windows Installer Editor.
- Ga to the File menu and click on New. Select Windows Application from Predefined Templates and click on OK.
- Go to Product Details and fill in the fields.
- Go to Merge Modules and add the DIFxApp.msm you copied from the WDK. Don't change anything on the Merge Module File Directory wizard page.
- Place the driver files (sys, inf, dll, etc.) in a unique directory below Destination Computer.
- Go to Setup Editor.
- Open the MsiDriverPackages table.
- Rightclick on the table and click on New and then Row. Click OK at the warning. Paste the name of the inf file in the Component field. Set Flags to 0 and clear the value of the Sequence field.
- Save the project and compile.
Source: DIFxApp.doc, originally with the Driver Installation Tools 2.01
Add calling a VBScript to the install process
- Ga to MSI Script.
- Leave Installation Mode on Normal Installation and go to the Execute Deferred tab.
- Select the line REM Determine which patches to apply, and then perform the byte-wise patching of files. and doubleclick on Call VBScript From Installed Files in the lefthand side of the window.
- Fill in:
- Custom Action Name: enter a name
- Script File: browse to and select the file from Destination Computer.
- Go to the Properties tab.
- Fill in:
- In-Script Options: Deferred Execution – System Context
- Processing: Synchronous
- Go to the Description tab and provide a description.
- Click on OK.
- Select the line you just added (Call VBScript (…)) and doubleclick on If Statement on the lefthand side of the window.
- Fill in:
- Not Installed
- Click on OK.
- Select the line REM Determine which patches to apply, and then perform the byte-wise patching of files. and doubleclick on End Statement in the lefthand side of the window.
- Done.