Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to get the 32bit version of IDL virtual machine in my target with Inno Setup?
    primarykey
    data
    text
    <p>I need to add idl virtual machine to my Target location for my IDL .sav file I am using Inno Setup, And the following code lines:</p> <pre><code>[Icons] Name: "{commondesktop}\clas"; Filename: "{code:GetIDLPath}"; Parameters: "{code:GetIDLParams}"; IconFilename: "{app}\clas_icon.ico" [Code] function GetIDLPath(Value: string): string; begin RegQueryStringValue(HKEY_LOCAL_MACHINE_32, 'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\idlrt.exe', '', Result); if Result = '' then Result := 'idlrt.exe'; end; function GetIDLParams(Value: string): string; begin // prepare the -vm option followed by a quoted application path to a file Result := '-vm ' + AddQuotes(ExpandConstant('{app}\bin\BATCH_CLAS_MAIN.sav')); // and replace backslashes to forward slashes StringChangeEx(Result, '\', '/', False); end; </code></pre> <p>This code will give me the location for the 64bit IDL virtual machine exe file and not the 32 bit version as follows:</p> <pre><code>"C:\Program Files\Exelis\IDL82\bin\bin.x86_64\idlrt.exe" -vm C:/clas/bin/BATCH_CLAS_MAIN.sav </code></pre> <p>But I need:</p> <pre><code>"C:\Program Files\Exelis\IDL82\bin\bin.x86\idlrt.exe" -vm C:/clas/bin/BATCH_CLAS_MAIN.sav </code></pre> <p>I have checked both these locations:</p> <pre><code>HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths\idlrt.exe HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\idlrt.exe </code></pre> <p>And they both only have the 64bit version path.</p> <p>Does anyone know how to get he 32bit version path?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload