vb.net - Inno Setup - Checking if MS Access x64 Engine installed -


i have setup script doesn't seem work way intended. want make installer extract , install office x64 engine if not installed. read through documentation , other questions might me out still no luck. here code in .iss script file:

[files] source: ".\kit3\*"; destdir: "{app}"; flags: ignoreversion recursesubdirs createallsubdirs; check: accessenginenotinstalled  [run] filename: "{app}\{#accessengine}"; parameters: "/passive"; check: accessenginenotinstalled 

and here function wrote check if installed:

function accessenginenotinstalled: boolean; begin   result := not regkeyexists(hkey_local_machine, 'software\microsoft\office\14.0'); end; 

let me know if have questions. thank you.

i added under [setup] line architecturesinstallin64bitmode=x64 , worked!


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -