Pages

Sunday, 15 July 2012

Command to Register EXE

Command to register an executable 
MyFile.exe /REGSERVER


Command to Unregister an executable
MyFile.exe /UNREGSERVER



Command to register DLL using MSIEXEC


The following example shows how you can use the msiexec /y command:


msiexec /y my_file.dll


/y   Calls the system API DllRegisterServer to self-register modules passed on the command line.



The following example shows how you can use the msiexec /z command:


msiexec /z my_file.dll


/z   Calls the system API DllUnRegisterServer to unregister modules passed on the command line.

INSTALLLEVEL Property in MSI



Below are the list of features present in MSI and their Levels are highlighted


Now, Lets goto Property Table and locate property INSTALLLEVEL, its value is 100



We can disable a feature by changing its Level value higher than INSTALLLEVEL value.


In the following snapshot HPIO feature level is set to 110 and hence it is disabled.









Application Packaging Videos - AdminStudio Repackager


Wednesday, 11 July 2012

Application Packaging Interview Questions - Miscellaneous


  • How to set a shortcut to install only on Windows7
  • How to set a component to install only if .Net Framework 4.0 full is installed
  • How to set a component to install only if operating system is 64bit ?
  • If there are two MSIs, a.msi and b.msi , how to package the application such that a.msi installs on WinXP and b.msi doesnt install, but in Windows7 both MSIs install
  • What is the use of Advertizing a shortcut?
  • How to set a condition in MSI to install only if desktop screen resolution is above 1280x720
  • How to set a custom action inside MSI to run CA after completing installation of MSI?
  • How to create a package, to check for microsoft office apps, and if they are running prompt a message to user to close them, wait for 1min, if user doesn't close office apps. Force close them and install MSI. After installation is complete, display a message a to user that Office apps can be used now and the message shouldn't be closed until user clicks OK button

AdminStudio 11.5 Announced- New Features


Adding New Support for the Microsoft Private Cloud, App-V 5.0 and Windows 8 Migrations, and App Portal Bundle


Monday, 9 July 2012

Windows 8 - Copy Files

Windows 8  hasbetter copy paste functions that allow multiple file copy pasting and better memory usage.