Posts

Showing posts from November, 2018

How to repackage any application

Image
When we want to deploy any application, we can’t directly use the installer provided by the Vendors of the Product. We need to tweak or customize it. In a word, we need to repackage it, then only we can deploy it on multiple machines using a deployment tool like SCCM. The below video shows a basic approach on how to repackage any application.

Extract Icons

Resource extract Link:  http://www.nirsoft.net/utils/resources_extract.html

How to stop Chrome ads and search engine issue

The below app solves this issue mostly. AdvCleaner

Shared DLLs

Image
You can get the information about shared DLL files at the below link. Shared DLL When we want to make a dll file as shared in msi, then we need to set the component as Shared. In Installshield, we have that option when go to the Component section and click on that particular component which holds the dll file. Then the component Attribute column in the component table of msi will be incremented by 8 to its previous value. So, whenever you install the msi, it will be added to the below hive in registries and the particular count of number of applications using it will also be available to see there. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs If we uninstall the msi, the reference count will be decreased.

To log command line output

Many binary executable files or commands in windows commandline either provide the output in command line or no output at all. To such scenario, below solution in AutoIT is useful to redirect the output to a log file. Change the below variable with your command in the test.au3 file. $sBuildCommand = “Command to execute”  GitHub Page for code snippets. You can download the code snippets from below link. Code Snippets

How to share data from VMware workstation and Host machine

Image

Convert virtualbox or Hyper-v machine to VMware

Image
Not only for VirtualBox, but you can convert any VM or physical machine to a VMware format VM using the below steps

send email using Powershell

We can send an email using powershell cmdlet Send-MailMessage. I have posted the powershell customized script for sending the mail with necessary parameters and configuration file for credentials in the below post at MSDN. MSDN Blog Post

Run and RunOnce

Image
The below video explains you about Run and RunOnce registry keys on the Windows Operating Systems.

How to reset a trail period

Image
We can use picture taker or Installrite to get the data where exactly the trial period status or date of installation is being tracked by the application. As an example, I have used Beyond compare for this purpose. You can see the below video where exactly the Beyond compare trial details are saved and how to reset the trial period of it.