item: Comment Active=True Comment=Example 3 end item: White Space Active=True end item: Comment Active=True Comment=Update files of Trend Application end item: Comment Active=True Comment=by updating registry keys and DLL files end item: White Space Active=True end item: If Process Running Active=True AbortOnFailure=False ProcessName=trendapp.exe UseProcessName=False TopWindow=TMainForm;Trend Applicartion end item: Comment Active=True Comment=Stop Trend Soft Service end item: Start/Stop Service Active=True AbortOnFailure=False Service=trendapp.exe StateRequested=seStop end item: Comment Active=True Comment=Deleting Trend Soft Service end item: Start/Stop Service Active=True AbortOnFailure=False Service=trendapp.exe StateRequested=seDelete end item: Comment Active=True Comment=Check registry for Trend Application end item: If Registry Key Exists Active=True AbortOnFailure=False Key=\TrendSoft\apppath Root=hkLocalMachine end item: Comment Active=True Comment=Delete previous registry values end item: Registry Key Delete Active=True Root=hkLocalMachine Key=\TrendSoft\apppath Value= AbortOnFailure=False end item: Registry Key Delete Active=True Root=hkCurrentUser Key=\TrendSoft\appowner Value= AbortOnFailure=False end item: Registry Key Delete Active=True Root=hkLocalMachine Key=\TrendSoft\datafiles Value= AbortOnFailure=False end item: Comment Active=True Comment=un register all dll files end item: Register OCX/DLL Active=True AbortOnFailure=False FileName=trend.dll UnRegister=True end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=Uninstall successfull DialogType=mtWarning end item: Comment Active=True Comment=adding new registry values end item: Registry Key Add Active=True Root=hkCurrentUser Key=\TrendSoft\apppath Value=c:\program files\Trendsoft\application AbortOnFailure=False Data=Value end item: Registry Key Add Active=True Root=hkLocalMachine Key=\TrendSoft\appowner Value=Naveed Ahmed AbortOnFailure=False Data=Value end item: Registry Key Add Active=True Root=hkCurrentUser Key=\TrendSoft\datafiles Value=c:\program files\TrendSoft\application\data files AbortOnFailure=False Data=Value end item: Comment Active=True Comment=registring new Dll files end item: Register OCX/DLL Active=True AbortOnFailure=False FileName=trend.dll UnRegister=False end item: Comment Active=True Comment=Start Trend Service end item: Start/Stop Service Active=True AbortOnFailure=False Service=trendapp.exe StateRequested=seStart end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=System updated successfully DialogType=mtWarning end item: Else Active=True end item: Comment Active=True Comment=Add new registry values end item: Registry Key Add Active=True Root=hkCurrentUser Key=\TrendSoft\apppath Value=c:\program files\Trendsoft\application AbortOnFailure=False Data=Value end item: Registry Key Add Active=True Root=hkLocalMachine Key=\TrendSoft\appowner Value=Naveed Ahmed AbortOnFailure=False Data=Value end item: Registry Key Add Active=True Root=hkCurrentUser Key=\TrendSoft\datafiles Value=c:\program files\TrendSoft\application\data files AbortOnFailure=False Data=Value end item: Comment Active=True Comment=registring DLL fies end item: Register OCX/DLL Active=True AbortOnFailure=False FileName=trend.dll UnRegister=False end item: Comment Active=True Comment=Starting Trend Service end item: Start/Stop Service Active=True AbortOnFailure=False Service=trendapp.exe StateRequested=seStart end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=System updated successfully DialogType=mtWarning end item: EndIf Active=True end item: Else Active=True end item: Show Message Active=True Options=doForceToForeground TimeOutinSec=-1 Title= Message=No previous version of Trend Application found on this system DialogType=mtWarning end item: EndIf Active=True end item: White Space Active=True end