A script to delete a registry key and its subkeys via a Custom Action. Useful for when we want to delete junk registry which has been left behind post uninstall. Source: technet.microsoft.com Script: Option Explicit Dim intHive Dim strComputer Dim … Continue reading →
A script to delete a folder and its subfolders via a Custom Action. Useful when we want to delete files/folders which have been left behind post uninstall. Source: blogs.technet.com Script: Dim arrFolders() intSize = 0 strComputer = “.” Set objWMIService … Continue reading →
This blog entry provides an example of finding 64-bit components in an MSI database using VBScript. It follows on from the previous blog post which provided a tutorial on editing MSI files in the windows installer cache using VBScript. It … Continue reading →
This blog entry provides an example of editing MSI files in the windows installer cache using VBScript. It follows on from the previous blog post which provided a tutorial on writing to the windows installer log file from a custom … Continue reading →
This blog entry provides an example of writing to the windows installer log file from a custom action using VBScript. It follows on from the previous blog post which provided a tutorial on using SQL inside an MSI database custom … Continue reading →
This blog entry provides an example of using SQL inside an MSI database custom action with VBScript. It follows on from the previous blog post which provided a tutorial on generating transforms for an MSI database using VBScript. It forms … Continue reading →
This blog entry provides an example of generating MST transforms for an MSI database using VBScript. It follows on from the previous blog post which provided a tutorial on applying transforms to an MSI database using VBScript. It forms part … Continue reading →
This blog entry provides an example of applying MST transforms to an MSI database using VBScript. It follows on from the previous blog post which provided a tutorial on using inner joins when reading from an MSI database using VBScript. … Continue reading →
This blog entry provides an example of using inner joins to read from an MSI database using VBScript. It follows on from the previous blog post which provided a tutorial on handling tables that don’t exist in an MSI database … Continue reading →
This blog entry provides an example of inserting a registry value in an MSI database using the Modify method and VBScript. It follows on from the previous blog post which provided a tutorial on deleting a registry value from an … Continue reading →