View Single Post
  #87  
Old 24-11-2011, 19:33
andersondj andersondj is offline
Registered User
 
Join Date: Mar 2009
Location: brasil
Posts: 12
Thanks: 42
Thanked 3 Times in 1 Post
andersondj is on a distinguished road
Quote:
Originally Posted by KillerOh View Post
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

Last edited by andersondj; 24-11-2011 at 19:54.