Thanks altef_4, problem solved.. and the detect install and offer unninstall too. :d Thanks for your help, man.
P.D. if i #define x64.. its the same than iswin64?, i try to do this for x64 registry keys and for x86 with RegWriteStringValue, but i dont have any way to test in x86 system.. The script work like a charm in x64
This is the way i do it:
#ifdef x64
RegWriteStringValue(HKLM,'SOFTWARE\Wow6432Node\Mic rosoft\Windows\CurrentVersion\Uninstall\' + GameName('') + '_is1','UninstallString','"'+ExpandConstant('{unin stallexe}')+'" /Silent');
#else
RegWriteStringValue(HKCU,'Software\Microsoft\Windo ws\CurrentVersion\Uninstall\' + GameName('') + '_is1','UninstallString','"'+ExpandConstant('{unin stallexe}')+'" /Silent');
#endif
Is this correct?