Results 1 to 5 of 5

Thread: Regkey in HEX type

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    3

    Arrow Regkey in HEX type

    Hi every one!

    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.

    thanks!

    PI.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Regkey in HEX type

    pilarbernad,

    What is a PassIP and what is it used for?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    3

    Re: Regkey in HEX type

    Randem,

    PassIP is a password that i get it during the install setup

    Pi.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Regkey in HEX type

    pilarbernad,

    It still hard to understand without seeing your script.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    3

    Red face 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width