cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ZeRO_000
Level 2

Same registry key between two components on one feature

Hi all.

Thank you for checking my problem.

I'm facing a problem, please help.

 

I want to set a registry key and value following condition, but I can't set a registry key and value.

Feature
|- A Component
          |- some registry key(*C)
|- B Component
          |- some registry key(*D)

*C and *D is same registry key, but value is different.
Build is OK, but I executed a execution module. I found a error message.

Is this specification of install shield?
I use install shield 2020 SP3

======================

Additional information after first posting this.

I investigated this problem.

I found something of relation.

When I set compressed configuration, this problem occurs.

When I don't set compressed configuration, this problem doesn't occurs.

Do you have a good idea to solve? 

 

error.png

無題.png

Labels (1)
0 Kudos
(3) Replies
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @ZeRO_000,

  As per windows, it wont create a 2 registries with same name in same place(meaning in same key EX: HKLM\Software\Test) under test, 

If you are trying to create 2 registries in same location, then its expected, Please refer attached screenshot on manually creating 2 registries with same name.

Thank you for replying.

I know a registry specification of Windows.

However, A component and B component have condition to install or not and these components isn't set same time. Namely, Windows is only set one component of A or B.

In this case, does this configuration has problem?

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @ZeRO_000 

 Please try to remove one registry in one of the component and build and install and verify it works or not.

If it works, then the condition added in the 2 components is working or not we need to verify meaning both components are not installing same time.

Also, could you please confirm you are doing a minor upgrade or clean installation, because the error says "Error applying Transform". 

Please confirm your machine has already version1 installer installed and in version1.1 installer are you trying this registry settings or its a clean fresh install

0 Kudos