Archive for the 'Application Repackaging' Category

Packaging IE9

Internet Explorer Administration Kit (IEAK) 9 simplifies the creation, deployment, and management of customized Windows Internet Explorer 9 packages. IEAK 9 can be used to configure the out-of-box Internet Explorer 9 experience for your users, and to manage user settings after you deploy Internet Explorer 9.

 

Ref # http://technet.microsoft.com/en-us/ie/gg615601.aspx

Steps :

 

1. Install IE 9 on the respective build .

2.Install IEAK .choose the license type’ Internal Distribution via a corporate Intranet’.

3.Run internet Explorer customization wizard 9

4.Select the required options and add\remove features etc..from the wizard.

5.In Media selection, Select ‘File’

5.The output will be an MSI file which will be getting stored in the destination location you have chosen in the wizard.

 

During Uninstall if you want to retain the previous version use the following command;

FORFILES /P %WINDIR%\SERVICING\PACKAGES  /M Microsoft-InternetExplorer-*9.*.mum /c “cmd /c echo uninstalling package @fname && start /w pkgmgr /up :@fname /norestart”

Internet Explorer Administration Kit (IEAK)

image

The Internet Explorer Administration Kit (IEAK) simplifies the creation, deployment and management of customized Internet Explorer packages. The IEAK can be used to configure the out-of-box Internet Explorer experience or to manage user settings after Internet Explorer deployment.

Read more about this in the below link.

http://technet.microsoft.com/en-us/ie/bb219517

Adobe Creative Suite Design Premium CS5

While packaging Adobe Creative Suite Design Premium CS5, you might have noticed that the below “Update available” prompt will be appearing automatically after install of the application. This can be disabled via the below mentioned method.

To disable the below auto prompt from Adobe help.exe

clip_image002

1.check the read-Only check box of state.xml file in %appdata%\chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1\Local Store\#ApplicationUpdater

clip_image004

2.Click ok.

To implement this via package, copy\over write this file to the above location via active setup.

Versions of Java which support Windows 7

Here are the versions of Java which support Windows 7:

 1.4: >= 1.4.2_23

 1.5: >= 1.5.0_21

 1.6: >= 1.6.0_14

HKEY_USERS (Identifying the SID of current logged in user)

During the troubleshooting of an application to deal with HKCU entries where the current user doesn’t have access to registries, checking the SID of the current user can help you identify the particular hive of the logged in user.

use the command whoami /user

Open the command prompt and enter the above command (In user mode) .The command will display the SID of the current logged in user.

open the registry with admin user and check the hive under HKEY_Users with the displayed SID.Delete or add the registry to  troubleshoot the application.

Setting permission for empty folder without empty component

Step 1:Create the empty folder in the required location using “New folder “ option.

clip_image002

For eg: I have used ‘BalsaTest’ folder in [ProgramFileFolder]

clip_image004

An Empty component will be getting created for this folder.

Note : Removing this empty component “AllOtherFiles” while giving permission via lockpermission table is the aim of this exercise.

clip_image006

Step 2: Set the required permission for the folder as below

clip_image008

Folder will appear with Lock icon after giving the permission

clip_image010

Lock Permission table will appear as below

clip_image012

Directory table entry as below

clip_image014

Createfolder table entry will be as below

clip_image016

We need to apply the tweak in createfolder.

Step 3:

Change the component to any other existing component in the package which is not empty.(Best practice is to give on the mainexe’s component)

clip_image018

Nothing to worry about the path of the mainexe component and the empty folder, Even the empty folder is getting created in different location .

The Parent folder mentioned in directory table will help the folder to get install on the required location.

Step 4: Delete the ‘AllOtherFiles’ componet from feature

clip_image020

clip_image022

Done!.Compile and install the MSI. Permission will be applied as below.

clip_image024

Set user interface level .

Here I share the various way we can set the user Interface during the MSI install.(Especially for Newbies)

q , qn – No UI

qb – Basic UI .

Use qb! to hide the Cancel button.

qr – Reduced UI with no modal dialog box displayed at the end of the installation.

qf – Full UI and any authored FatalError , UserExit , or Exit modal dialog boxes at the end.

qn+ – No UI except for a modal dialog box displayed at the end.

qb+ – Basic UI with a modal dialog box displayed at the end. The modal box is not displayed if the user cancels the installation.

Use qb+! or qb!+ to hide the Cancel button.

qb- – Basic UI with no modal dialog boxes.

Please note that /qb+- is not a supported UI level.

Use qb-! or qb!- to hide the Cancel button



Follow

Get every new post delivered to your Inbox.

Join 95 other followers