Add Uninstall key to registry using delphi
$15-25 USD / hour
Need an a delphi expert to help me fixing a program that adds an uninstall key to windows registry.
The program worked before and now, when not working on windows 10.
Procedure CreateUnInstalleRegEntry (UnInstall_Key_Path:String;
DisplayName :String;
DisplayIcon :String;
UninstallString :String;
var RegRetCode :integer;
var RegErrorMessage :String);
var
Reg: TRegistry;
Key_Path :String; // Key path in HKEY_LOCAL_MACHINE
begin
RegRetCode := 0;
RegErrorMessage := '';
if (UnInstall_Key_Path = '')
then begin
RegRetCode := 1;
RegErrorMessage := 'Invalid Registry Key';
exit;
end;
Key_Path := '\Software\Microsoft\Windows\CurrentVersion\Uninstall\' + UnInstall_Key_Path;
Reg := [login to view URL];
[login to view URL] := KEY_ALL_ACCESS + ACCESS_32KEY + ACCESS_64KEY;
try
[login to view URL] := HKEY_LOCAL_MACHINE;
{True because we want to create it if it doesn’t exist}
if [login to view URL](Key_Path, True)
then begin
if (Trim(DisplayName) <> '') then
[login to view URL]('DisplayName',DisplayName);
// If DisplayIcon value is empty - just don't write/create string
if (Trim(DisplayIcon) <> '') then
[login to view URL]('DisplayIcon',DisplayIcon);
// If WriteString value is empty - just don't write/create string
if (Trim(UninstallString) <> '') then
[login to view URL]('UninstallString',UninstallString);
end;
[login to view URL];
[login to view URL];
except
RegRetCode := 99;
RegErrorMessage := 'UnKnown Error';
[login to view URL];
end;
end;
Project ID: #17117215
About the project
8 freelancers are bidding on average $21/hour for this job
Hello I am familiar with creating uninstall keys under Microsoft Windows And I have few years of experience with Delphi.
Hello I'm experienced Delphi developer and I'm interested with your project. Let's discuss it in detail over the chat. Regards, Alex.
Hi we are a software development company from india in past 8 years me & my Team developed approx 10235 projects for global market , we try to satisfy clients needs . we developed lots of projects for several industr More
Hi I've got a lot experience with Delphi and Windows 10, I can solve it. However is non-zero probability that is not code error, but windows configuration
Hi, I have understand your project very well I can do this I am Delphi Expert with 14+ years of experience & have completed a lot of projects .I can fix all issues & errors as well. My expert skills are C,C++,C# P More