View Single Post
  #8  
Old 29-12-2017, 07:30
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by WOliveira View Post
I used Ultra Arc 2.8.0.1 for compression, but it is not recognizing your setup, and at the time of compiling another it is giving the error "Unknown type 'PChar'".
Yes because you have to edit isdone.iss in resource folder & change all PChar
to PAnsiChar to compile the script.

The only other issue is the version of Windows ( Operating System ) is only set to Windows 7, vista & XP. Tried adding windows 8 & 10 but it still shows up as red. Also VideoRam wasn't showing anything over 1024, but editing requerimientos.iss ( don't know if correct ) now shows ~4096.

Code:
VideoRam:=GetVidMemLocal/1048576;
  if VideoRam < 0 then   // added line
     VideoRam := VideoRam + 2* 2147 + 2;  //added line
//  if (VideoRam<63) or (VideoRam>1100) then vr:=VideoRam  //
  if (VideoRam<63) or (VideoRam>8200) then vr:=VideoRam
  else if VideoRam<100 then vr:=64
  else if VideoRam<200 then vr:=128
  else if VideoRam<300 then vr:=256
  else if VideoRam<400 then vr:=384
  else if VideoRam<600 then vr:=512
  else if VideoRam<800 then vr:=792
//  else if VideoRam>800 then vr:=1024; //
  else if VideoRam<1200 then vr:=1024
  else if VideoRam<2200 then vr:=2048
  else if VideoRam<4200 then vr:=4096
  else if VideoRam<6200 then vr:=6144
  else if VideoRam<8200 then vr:=7168
  else if VideoRam>8200 then vr:=8192;
maybe those who know better can fix it better.
Reply With Quote