-
Regkey in HEX type
Hi every one! :wave:
some one can help me? i need to insert a special regkey binary type during the inno setup run.
Actually i make this:
Root: HKLM; subkey: Software\PUMASFA\; ValueType: string; ValueName: Nombre; ValueData: {code:GetUser|Nombre}
Root: HKLM; subkey: Software\PUMASFA\; ValueType: binary; ValueName: PassIP; ValueData: 62
but i need to get the passip in the installation run. :confused:
thanks!
PI.
-
Re: Regkey in HEX type
pilarbernad,
What is a PassIP and what is it used for?
-
Re: Regkey in HEX type
Randem,
PassIP is a password that i get it during the install setup :rolleyes:
Pi.
-
Re: Regkey in HEX type
pilarbernad,
It still hard to understand without seeing your script.
-
Re: Regkey in HEX type
ok, Randem
let me explain it,
i have in [Registry] secction :
Root: HKLM; subkey: Software\...; ValueType: binary; ValueName: PassworIP; ValueData: {code:GetConex|PasswordIP}
... and in [Code] section :
var
ConexPage: TInputQueryWizardPage;
procedure InitializeWizard;
begin
{ Create the pages }
UserPage := CreateInputQueryPage(wpUserInfo,
' Conexion Information ', 'User Id',
'Please,.....');
ConexPage.Add('PasswordIP:', True);
end;
function GetConex(Param: String): String;
begin
if Param = 'PasswordIP' then
Result := ConexPage.Values[0]
end;
But it dosen't work when compile, the reason: the binary type. Any suggestion?
Pi.