I’ve encountered some applications that, during installation, change the default printer for the users on the machine, regardless if it’s installed from an admin account or system account. To prevent this, you might want to look into the MSI custom actions, but if you don’t have that option, then […]
VBScript
There might be cases when multiple applications modify the same extension. With these simple scripts you can do a backup and restore of the registry in your MSI. First, create a vbscript for backup: This script creates a folder named “MyApp” in C:\Windows\Installer. By using the […]
Let’s assume that you have a big vendor MSI with lots of features and components. You apply a transform to it according to the specifications sent by the customer. So far so good. But how do you test if everything is installed accordingly? Microsoft offers a VBScript called WiLstPrd.vbs which is […]
Let’s say, for example, that you have a file with multiple lines in the form of: And let’s say you have a variable in the form of: What if you want to add only MyText4 and MyText5 into the file? The solution is simple, we […]
As you probably know, starting with Windows 10, the Start Menu has been redesigned. How does that translate to shortcuts? The first thing you will see is that you have a lot less folders inside the start menu, meaning that if you have an application with a folder structure like: […]
I’m not sure how useful this script will be, but, a while ago somebody came to me and said “we need to test how much time it’s needed to copy a big file from a share over the network for the users, and please create logs so we can collect […]
Let’s say you have a scenario where the user wants to install applications from a share, but he has to login first. Or there is another scenario where you set the application in SCCM to “Run as administrator” and that will be executed in the system context user,that means that […]
I once had an interesting app, or better say a bundle of apps. It was not about the apps, but about the fact that the customer wanted the installation to be done from a remote server. You may say ok sooo what’s the big deal? When you create an […]