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 […]
Blog
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 […]
I’ve come across some interesting scenarios during the years. One of them is that some clients want to retain the auto-update capabilities of a package. But in this case, you end up with a problem during uninstall because the Product Code of the main package, will be replaced during […]
Being a former web developer and working with some scripting languages during the years, i must say that Powershell makes it so easy to work with dates. Let’s see some code and tips&tricks for time and dates in Powershell. Get current date This returns the date in the […]
Task Scheduler is a powerful tool. Google, for example, with Chrome, uses it as an update checker once every few hours. If you have Chrome installed you can open up Task Scheduler and see that you have two schedules in it. You can use it in other scenarios, like […]
Let’s say you want to inform your users about something, but you need to know what they pressed, you need to have custom buttons, with tooltips, messages, sounds and so on. Fear not, you can achieve all of this with Powershell. As you can see, we have […]
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 […]
One of the most asked questions for me about SCCM is “How can we reduce the number of reboots needed?” I know it sounds like a silly question, but let’s consider the following scenario. If you have (and most certainly do) Java, Adobe and Flash in your infrastructure, you already […]