Alkane Solutions
Alkane Solutions Fixed-Price Apps | Trusted IT Partner
Alkane Solutions | G-Cloud Supplier Alkane Solutions | Microsoft Partner

Main menu

Skip to primary content
Skip to secondary content
  • Application Packaging Services
    • Why Application Packaging?
    • MSIX Application Packaging Services
    • Application Packaging Service for the NHS
    • Application Packaging for MECM
    • Intune Application Packaging Services
    • Evergreen Application Packaging Services
  • About
    • Team
    • Case StudiesCase studies of the work we have done for our clients.
  • Contact Us
  • Log In
  • Register
  • Submit a Guest Post!
  • Recommended Reading
  • Fixed-Price Quote

Home - MSI Application Packaging - Page 4

This category contains MSI Application Packaging scripts, tips, tutorials and best practises.


Delete Empty Components

Posted on January 4th, 2013

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 →

Tagged WindowsInstaller.Installer |

Split INI Files into Separate Components

Posted on January 4th, 2013

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 →

Tagged WindowsInstaller.Installer |

Split PE Files into Separate Components

Posted on January 4th, 2013

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 →

Tagged WindowsInstaller.Installer |

Merge Multiple Windows Installer Transforms

Posted on January 4th, 2013

Description: This script will merge multiple Windows Installer transforms into one single transform. 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 the VBS file) … Continue reading →

Tagged MST, Transform, WindowsInstaller.Installer |

Delete a Registry Key and its Subkeys

Posted on December 18th, 2012

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 →

Tagged StdRegProv |

Delete a Folder and its Subfolders

Posted on December 18th, 2012

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 →

|

Finding 64-bit components in an MSI database

Posted on December 8th, 2012

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 →

Tagged Decimal to Binary, Windows Installer Component Attributes |

Editing MSI files in the Windows Installer cache

Posted on December 8th, 2012

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 →

Tagged Installer.ProductInfo, Installer.Products |

Writing to the Windows Installer log file from a Custom Action

Posted on December 8th, 2012

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 →

Tagged Installer.CreateRecord, Record.FormatText, Session.Message |

Using SQL inside an MSI database custom action

Posted on December 8th, 2012

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 →

Tagged Session.Database.OpenView, Session.TargetPath |

« Previous Page — « Previous Entries
Next Entries » — Next Page »

Recommended Reading

Over

10,000

Applications
Packaged

Over

18

Successful
Migrations

Over

50

Happy
Clients

Application Packaging Services in Manchester, UK.
12b Kennerleys Lane, Wilmslow, England, SK9 5EQ

Application Packaging Services in London, UK.
152-160 City Road, London, EC1V 2NX.

© Alkane Solutions Ltd 2025
Privacy Policy | Modern Slavery | LinkedIn | Blog Posts

APPLICATION PACKAGING QUOTE!

✔ Fixed Price.
✔ Experienced IT Professionals.
✔ Highly Competitive Prices.
✔ 12 Month Warranty.






    This will close in 0 seconds