Use Variable asked during install in ExeOutput for PHP Project

Hi there, I am attempting to create an installer for my ExeOutput for PHP project. During the installation I would like to ask the user for some information, once the have entered this information as a string where does this then get saved and can I use this information in my PHP files?

For example, during the installation it may ask for their name and then once the application opens it would show Hi, (NAME)?

Thanks in advance

Aled

You could for instance save it to the registry or in a text file. Paquet Builder has all the tools to do that.
Then, your ExeOutput app can read data from registry or from text files (for instance, with HEScript).
Are you familiar with PHP and/or scripting?

1 Like

Hi, thanks for the reply. I would like to use the registry option.

Whilst on the topic I would also like to get the machine GUID which is stored at “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography”

To echo this in my php file I have created a HEScript with the following code;

function RegR: String;   
begin                             
Result := ReadRegStr(4, "SOFTWARE\Microsoft\Cryptography","MachineGuid","");  
end;

and in my PHP script

echo exo_return_hescriptcom('GetGuid.RegR', '');

Unfortunately this does not show any information?

Any help would be much appreciated.

Thanks

The main problem is that ExeOutput produces 32-bit apps, so they won’t access “SOFTWARE\Microsoft\Cryptography” but “SOFTWARE\Wow6432Node\Microsoft\Cryptography”.
We’ll see whether we can add the ability to read 64-bit reserved keys.