Monday, April 26, 2010

VMWare 3.0.1 build-227600
Virtual Machine : VMware
Apps Repackaging : VMware 3.0.1 Build - 227600
Issue : VMWare will not install on VMWare virtual machine
Soln : If we install VMWare Silently it will install

1. Extract the Souce file from VMware-player-3.0.1-227600.exe using command
Msiexec /e
2. Taking base MSI as “vmware player.msi” create the transform Using ORCA
3. Apply properties
DESKTOP_SHORTCUT=0
QUICKLAUNCH_SHORTCUT=0
ALLUSERS=1
AgreeToLicense=Yes
ROOTDRIVE=C:\
REBOOT= ReallySuppress

4. Using Install Shield Edit MST to add files “preferences.ini” and Script “Copy_Pref_Users.vbs” to copy files to install directory folder
'....................Copy_Pref_Users.vbs........................................
'On Error Resume next
'Option Explicit
dim path,prog
Set ObjShell = CreateObject("WScript.Shell")
set objFSO = CreateObject("Scripting.FileSystemObject")

path = ObjShell.ExpandEnvironmentStrings("%APPDATA%") & ("\VMware\")

If Not objfso.FolderExists (path) Then

objFSO.CreateFolder(path)

End if

prog = objshell.ExpandEnvironmentStrings("%ProgramFiles%")

objFSO.CopyFile prog & "\VMware\VMware Player\preferences.ini", path
'....................Copy_Pref_Users.vbs.............................................


5. Add Active setup to apply setting to all profiles

No comments:

Post a Comment