Thursday, 12 November 2009

Windows Desktop Search 4.0

Please refer the C/A and try it once.
1) Execute progm from installation C/A name: Install exe file: Command line arguments: /quiet/norestart sequence:Normal execute immediate/deferred condition: NOT Installed IN SCRIPT OPTION: Immediate execution Processing: Synchronouus ignore exit code

2) Execute progm from destination C/A name: uninstall working directory:system folder exe & cmd line : ""[windir]\$NtUninstallKB940157$\spuninst\spuninst.exe" /passive /norestart sequence:Normal execute immediate/deferred condition: REMOVE~="ALL" IN SCRIPT OPTION: Immediate execution Processing: Synchronouus ignore exit code

3) Execute progm from destination C/A name: delete working directory:system folder exe & cmd line : cmd.exe /c rmdir /q /s "[ProgramFilesFolder]Windows Desktop Search" sequence:Normal execute immediate/deferred condition: REMOVE~="ALL" IN SCRIPT OPTION: Immediate execution Processing: Synchronouus ignore exit code

4) One more custom action is added to delete folder. userprofile\Application Data\Windows Searchcall vb script from embedded code: dim fso,progfiles,wshshellset fso =createobject("scripting.filesystemobject")set wshshell = createobject("wscript.shell")USRPROFILE = wshshell.expandenvironmentstrings("%userprofile%")If FSO.folderexists(USRPROFILE & "\Application Data\Windows Search") Then FSO.DeleteFolder(USRPROFILE & "\Application Data\Windows Search")End If

No comments:

Post a Comment