In my Installer I have 2 scripts (A and B), each with its own ApplyChanges.
B has a writeRegistry command for X which is marked as permanent and a writeRegistry command for Y which is NOT marked as permanent.
A does not have writeRegistry commands for X or Y.
My installer runs script A and DOES NOT run script B.
After installation, the registry does not contain Y (as expected) but IT DOES contain X although B was not executed.
I am using IA 2012.
Is there a workaround for this problem other than using an external command for writing to the registry?
Thanks
Gary
A bug writing permanent registry values
Re: A bug writing permanent registry values
Hi,
Have you included the Include Script command in your main script file (A I'm assuming)?
Have you included the Include Script command in your main script file (A I'm assuming)?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: A bug writing permanent registry values
I have indeed included the script, but under an 'if' which equals FALSE so I am NOT executing the included code.
Regards
Gary
Regards
Gary
Re: A bug writing permanent registry values
Hi Gary,
I strongly recommend two things:
1) Making sure that no one else is creating Y or that it doesn't already exist
2) Running your setup step by step (debugging it) and seeing if any Write Registry commands are being called
I strongly recommend two things:
1) Making sure that no one else is creating Y or that it doesn't already exist
2) Running your setup step by step (debugging it) and seeing if any Write Registry commands are being called
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: A bug writing permanent registry values
Aviv
We have already done both things you command before ever posting this issue.
What I describe IS a bug I am sure.
However, as you are not convinced, I will try writing a minimal installer that will hopefully reproduce it and send you.
Regards
Gary
We have already done both things you command before ever posting this issue.
What I describe IS a bug I am sure.
However, as you are not convinced, I will try writing a minimal installer that will hopefully reproduce it and send you.
Regards
Gary
Who is online
Users browsing this forum: No registered users and 95 guests