Hello,
I'm running InstallAware X4 and I'm having trouble with writing to the registry conditionally. It seems that whether or not the conditional gets run, the write registry command inside it runs.
I'm trying to write something to the registry when a checkbox is checked in a dialog. I have tested the output from the dialog and it is setting the correct values into the correct variables from the checkboxes. I have also tested in debug build and it is definitely skipping the conditional but still doing the write. When I comment the "Write Registry" command the registry key is not written so I know it is that command that is creating the value in the registry.
Is this a bug? Is there another way to conditionally write to the registry?
Registry Keys writing even when conditional Statements are false
Registry Keys writing even when conditional Statements are false
Aaron Collins
Product Development and Support
Blue Marble Geographics
Product Development and Support
Blue Marble Geographics
Re: Registry Keys writing even when conditional Statements are false
Hello, I finally figured it out.
When I had the MSIcode Statement Identifiers setting set to "Use dynamic identifiers" it would ignore the conditionals for my write commands. Once this was switched to "Generate stable identifiers" or "Blend" the issue was resolved.
When I had the MSIcode Statement Identifiers setting set to "Use dynamic identifiers" it would ignore the conditionals for my write commands. Once this was switched to "Generate stable identifiers" or "Blend" the issue was resolved.
Aaron Collins
Product Development and Support
Blue Marble Geographics
Product Development and Support
Blue Marble Geographics
Who is online
Users browsing this forum: No registered users and 56 guests