Description This script will rename single-file components to their filename. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 ‘create a … Continue reading →
Description: This script will set arbitrary keypaths for components with no keypath. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 … Continue reading →
Description: This script will change the Class context case. For example, Inprocserver32 is replaced by InprocServer32. Usage CScript.exe {Script} {MSI} {Transform 1} {Transform 2} {Transform x..} (or if transform ordering is not important, drag an MSI and multiple MSTs onto … Continue reading →
Description: This script will change GUIDs to upper case, as per Windows Installer Best Practises Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 Const … Continue reading →
Description: This script will delete unused directories in the Directory table which are unused Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 Const ForAppending … Continue reading →
Description: This script will create short file names (8.3 format) for the File table and the IniFile table of a Windows Installer. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading … Continue reading →
Description: This script will delete duplicate registry entries in the Registry table of a Windows Installer. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 … Continue reading →
Description: This script will delete empty components from a Windows Installer. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 ‘create … Continue reading →
Description: This script will split INI files into separate components, as per Windows Installer Best Practices. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 … Continue reading →
Description: This script will split PE files into separate components, as per Windows Installer Best Practices. Usage CScript.exe {Script} {MSI} Script ‘set up log file Dim fso : Set fso = CreateObject(“Scripting.FileSystemObject”) Const ForReading = 1 Const ForWriting = 2 … Continue reading →