View Single Post
  #5  
Old 11-02-2014, 05:48
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
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?

Last edited by Logrim; 11-02-2014 at 05:53.
Reply With Quote