Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.
Orca.exe is a database table editor for creating and editing Windows Installer packages and merge modules. The tool provides a graphical interface for validation, highlighting the particular entries where validation errors or warnings occur.
This tool is only available in the Windows SDK Components for Windows Installer Developers. It is provided as an Orca.msi file. After installing the Windows SDK Components for Windows Installer Developers, double click Orca.msi to install the Orca.exe file.
Source: MSDN Microsoft
Since this is a bit complicated to become the Orca-source to install the tool, you can download Orca 5.0 on the following link:
Ontrex – a professional software packager in Switzerland is online with a technical blog:
There exist already Windows7/Windows Installer 5.0 posts.
By default WISE can’t delete a folder structure with all files and subfolders. The technologie of MSI is designed to delete only these components by uninstalling, which were installed.
With the following VB-Script can do just that. It makes sense, that the script uses a property of the directory-table. The example uses the “JUNIPER” directory, which will be deleted by the script.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Option Explicit Dim WshShell,SystemFolder,Fso,strFolder, strFile, ret ' Set the property strFolder = GetAProperty("JUNIPER") ' Delete the last character at the end of the string ' -> example: C:\Programm Files\Test"\" ' For a correct deleting of a directory-property, ' the backslash at the end has to be deleted strFolder = Left(strFolder,Len(strFolder)-1) ' Environment variable reading set WshShell = CreateObject("WScript.Shell") set Fso=createobject("scripting.filesystemobject") ' Delete the folder If Fso.FolderExists(strFolder) Then ret = Fso.DeleteFolder (strFolder,True) End If Set WshShell = Nothing Set fso = Nothing ' Getting a property Function GetAProperty (PROPERTYNAME) dim szStringVal szStringVal = Session.Property(PROPERTYNAME) GetAProperty = szStringVal End Function
Active Setup is included in the Windows Operating System and can be used to do something after the user logs in. Especially when you have to install some files, registry keys, user-certificates or other things into the user-profile is Active Setup a nice technology to use. It is originally a feature of Microsoft Internet Explorer and Microsoft Outlook.
With WISE Package Studio you can easily implement Active Setup by adding the following Registry-Keys (minimum) to your project:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[UpgradeCode]
"StubPath"="[SystemFolder]\msiexec.exe /fu [ProductCode] /qb-!"