This post shows how to use PowerShell to get the current username and sid from an elevated session. Typically speaking, if you were running powershell.exe as an elevated user and typed $env:USERNAME you would see the username of the elevated … Continue reading →
This is a replica (with better formatting) of a post I made over at ITNinja (or AppDeploy back then!) several years ago which discusses configuring Excel automation add-ins. I’m not even sure if it still works but it’s great as … Continue reading →
I’ve been working on a PDF printer driver recently. It was installed as part of another product – a crumby old InstallShield setup.exe that didn’t install or uninstall silently (and response files didn’t work). As such this blog post will … Continue reading →
My current client uses the standalone InstallShield repackager to snapshot applications on virtual machines. When we copy the captured project back to the host machine and try to build the project, we sometimes see an error where InstallShield could not … Continue reading →
Sometimes after installing a setup.exe with limited command line switches, we may want to clean up the Windows start menu. Usually as part of our Application Packaging best practises we remove ‘Uninstall’ shortcuts, ‘Update’ shortcuts, and shortcuts to readme’s and … Continue reading →
This post continues from part 1 of the driver signing series found here and part 2 of the series found here. Part 3 of our driver signing guide deviates slightly from the self-signed certificate approach. My current client uses Active Directory … Continue reading →
This post continues from part 1 of the driver signing series which can be found here. Part 3 of the series can be found here. It’s been a while since I looked at signing un-signed drivers I must admit. In … Continue reading →
Creating a symbolic link can be achieved using the MKLINK internal command. Internal commands are native to the windows command shell and are NOT executable files. As such, we must call these commands via the windows command shell as follows: … Continue reading →
With a Windows Installer there are a couple of ways we can create a URL shortcut, but I like to create a URL shortcut using the IniFile table. In this example, we create a file called ‘Alkane App.url’ on the … Continue reading →
Description: This post describes how to access a Windows Installer property in a Deferred Custom Action. Deferred, commit, and rollback custom actions can only access a limited number of built-in Windows Installer properties – CustomActionData, ProductCode, and UserSID. In brief … Continue reading →