


QLAUNCH = "Microsoft\Internet Explorer\Quick Launch"ĬopyFiles = Core.Copy, Inf.Copy, Comp.Copy, Ico.CopyĭelFiles = Core.Copy, Inf.Del, Comp.Copy, Ico.Copy HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,RemLink2,"%11%\cmd.exe /C DEL /F /Q ""%16410%\%QLAUNCH%\%DESCNAME%.lnk""" HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,RemLink1,"%11%\cmd.exe /C DEL /F /Q ""%16395%\Programs\%DESCNAME%.lnk""" HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,RemDir,"%11%\cmd.exe /C RD /S /Q ""%16422%\%DESCNAME%""" HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,KillProg,"%11%\TASKKILL.exe /F /IM ConvertZ.exe /T" HKLM,%UNINSTAL%\%DESCNAME%,DisplayName,"ConvertZ v8.02" REMOVCMD = "rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132" UNINSTAL = "Software\Microsoft\Windows\CurrentVersion\Uninstall" Setup.ini, oups, "group2=""%16410%\Microsoft\Internet Explorer\Quick Launch\""" HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,RemDir,"%COMSPEC% /c rd /s/q ""%16422%\%ConvertZ%""" HKLM,%UNINSTAL%\%DESCNAME%,UninstallString,"%REMOVCMD% %17%\%FILENAME%.inf" HKCU,Software\Microsoft\Windows\CurrentVersion\Run,"%DESCNAME%",""%16422%\%ConvertZ%\ConvertZ.exe"" Create a batch file MioConvertZ802.cmd.ĭelFiles = Inf.Copy, File.Del, ConvertZ.filez Copy all the files defined in section in the INF from installed dir to this "MAKING" folder.ģ. This is what I do to obtain the final silent install package:Ģ. That's the 50% portion, so can anybody advice me what to add in my INF so that everything created during install can be remove when uninstall? The 2 shortcut and folder created during install remain. But when I uninstall from the Add/Remove Program in control panel, only the files declare in get deleted. Then it create 2 shortcuts at 2 different locations and finally it import some registry stuff so that an entry is added to the Add/Remove Program. The INF that I created basically create a folder at %ProgramFiles%\ConvertZv740 and copy all the files declare in. The experimental target software is call ConvertZ. You might wonder what the hack is "only 150% complete"? So let me continue. But I'm some how lost cause my INF is only 150% complete. All expert in this forum knows the advantage of using INF to install a software, so I follow the footsteps.
