Quote:
Originally Posted by KillerOh
Sorry for floooding, but the UNINSTALL button don't work. I doesn't run the uninstaller FROM THE AUTORUN, but uninstalls fine from the uninstaller itself.
|
Download this file
http://www.megaupload.com/?d=GG6JKHRB and modifie your source path
OR Edit in autorun.iss this!
begin
PlaySound(expandConstant('{tmp}\Click.wav'),0,SND_ OPT);
if TLabel(sender).caption=ExpandConstant('{cm:AInstal l}') then begin
HForm.Close
Install:=True;
end else begin
RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Electronic Arts\Need for Speed The Run',
'Install_Path', appath)
if not Exec(appath+'\Need For Speed The Run.exe', '', '', SW_SHOW,
ewNoWait, ResultCode) then MsgBox(SysErrorMessage(ResultCode)+': Need For Speed The Run.exe', mbCriticalError, MB_OK)
else begin
HForm.Close;
Install:=False;
end;
end;
end;
In Install_Path Change for Install Dir in all of the parts of the Scripts,or if your script is diferent change from InstallFolder to Install Dir