md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

64-bit component in 64-bit installer

hello all, i'm creating the simplest of all installers. the only thing it does is deleting a registry value. The value is under HKLM\Software\Intel\IGFX. Since I don't want to be redirected to SYSWOW, I created an Enterprise "64-bit package for x64 processors (AMD64, EM64T)" package.

turns out, after trial and error, that even in a 64-bit package, I still have to go to Components under Organization and place a check mark for "64-bit component"

is this correct behaviour? why aren't components in a 64-bit package considered 64-bit by default? and this fix was very easy for me but what if I have thousands of registry entries? I have to go to each one and place a check mark next to them?

i'm sure it's not like that and i'm simply missing something

thanks
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: 64-bit component in 64-bit installer

Hello,

This behaviour could be encountered if you first add the registry value removal and after that you change the package type to 64-bit package. The component is created for a 32 bit package and after the package type change, the 64 bits flag remains unchanged for that component. Please make sure you change the package type right after you create the project.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
md8070
Posts: 24
Joined: Thu Nov 10, 2011 9:58 pm

Re: 64-bit component in 64-bit installer

Thanks Sorin, the first thing I did was to change the project from 32 to 64 bit. Then, I created the Registry Removal Value

i'm sure this is very easy to confirm

Having thought about this a bit longer, i realize that you have a check box "64-bit component" but you don't have a "32-bit component" one. Which raises the other question, if I create a 64-bit package how do i create a 32-bit "registry removal value"? this leads me to conclude that no matter what the project is, all components are 32-bit by default and the packager is responsible to configure the 64-bit ones

still confused ... :)
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: 64-bit component in 64-bit installer

Hello,

Advaned Installer's behaviour regarding this subject is the following: The components created after you change the package type to 64 bit will be 64 bit components. The "ProductInformation" component, being created by default, right after the project is created will remain a 32 bit component until you select the 64 bit option. Please note that when you crate a new registry "Value Removal" you will be prompted to specify which component will store this registry removal. The default component is indeed ProductInformation, thus your behaviour is encountered.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”