Importing a reg fil in a 64-bit package for x64 processors (AMD, EM64T) - Advanced Installer Community
alexchevrier
Posts: 2
Joined: Wed Jul 06, 2016 1:11 pm

Importing a reg fil in a 64-bit package for x64 processors (AMD, EM64T)

Hi,
I'm using Advanced Installer 13.0 freeware on Windows 10. I'm building two VideoLAN packages, one 32-bit package and one 64-bit package for x64 processors (AMD, EM64T).

My 32-bit package works perfectly, but I have a problem with my 64 when I import my reg files.

I use the same reg files for each version, since "Program Files" stays the same in both version (no Program Files x86). After importing the files, I checked the registry and it's all set to [ProgramFilesFolder] instead of [ProgramFiles64Folder]. I'm building a 64-bit packages, importing a reg file should assume that I'm going to use "Program Files" and not "Program Files (x86)"

By the way, my VLC files are correctly set up in the packages, my 32-bit files are in Program Files and my 64-bit files are in my Program Files 64.

Is there something I'm missing or is it a bug ?

Thanks,
Alexandre Chevrier
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Importing a reg fil in a 64-bit package for x64 processors (AMD, EM64T)

Hi Alexandre and welcome to Advanced Installer forums.

I'm afraid that I do not fully understand your scenario. Can you please give us more details, maybe a screenshot with the problem or send us to support at advancedinstaller dot com the .reg file that you try to import along with a step by step test case scenario?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
alexchevrier
Posts: 2
Joined: Wed Jul 06, 2016 1:11 pm

Re: Importing a reg fil in a 64-bit package for x64 processors (AMD, EM64T)

OK, i'll try to explain it better.

My 64-bit package installs files in C:\Program Files\VLC.

My imported registry files contains keys in C:\Program Files\VLC.

I import my reg files in my 64-bit packages and build it, then I install it on a test machine. The key added are C:\Program Files (x86)\VLC instead of C:\Program Files\VLC.

I have to rename every [ProgramFilesFolder] for [ProgramFiles64Folder] in the registry's section of my project.

Why does the installer creates keys with [ProgramFilesFolder] in a 64-bit packages in the registry section ? It should use [ProgramFiles64Folder] when an imported registry file in a 64-bit packages contains C:\Program Files.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Importing a reg fil in a 64-bit package for x64 processors (AMD, EM64T)

Hi,

Indeed, this is an Advanced Installer limitation. We'll consider your suggestion to improve this, but for the moment there are not immediate plans. Thank you for your suggestion.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”