PerryRaptor 1 Posted April 10, 2005 can I write the registry entries to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ ? Keys are: DisplayIcon, DisplayName, NoModify, NoRepair, UninstallString. Point the UninstallString key to the uninstall script that I create. I'd like to be able to list compiled scripts in the Add/Remove Programs under WindowsXP. Share this post Link to post Share on other sites
Westi 0 Posted April 10, 2005 Yes, you can.. $var = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Your programs name" RegWrite( $var, "DisplayName", "REG_SZ", "title") RegWrite( $var, "DisplayVersion", "REG_SZ", "1.0") RegWrite( $var, "UninstallString", "REG_SZ", "rundll32.exe advpack.dll,LaunchINFSection " & @scriptdir & "\programs name.inf ,UnInstall") RegWrite( $var, "Publisher", "REG_SZ", "your name") RegWrite( $var, "URLInfoAbout", "REG_SZ", "http://???") RegWrite( $var, "DispalyIcon", "REG_SZ", "Icon or exe name") RegWrite( $var, "NoRepair", "REG_DWORD", "00000001") RegWrite( $var, "NoModify", "REG_DWORD", "00000001") RegWrite( $var, "InstallLocation", "REG_SZ", @scriptdir)..and so on. Share this post Link to post Share on other sites