InstallShield 2015 trial Version-Set Registry key permissions


I am using InstallShield 2015 Trial version. I don't see "Permissions" buttons as mentioned in the help file. Need help with setting permissions for registry key.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vadim RappCommented:
What do you need to accomplish with permissions?
Vadim RappCommented:
In MSI installations, permissions are specified in the table LockPermissions. If your trial version has direct editor under Installation Designer, you can use it; otherwise, open resulting MSI in Orca (or any other MSI editor) and add the lines you want.  See for details.
kalyangkmAuthor Commented:
I need my application to read and update registry values. Please let me know  how to set permissions from direct editor.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Vadim RappCommented:
Add line to the table LockPermissions, as described in the article.

That said, usually the permissions on the registry keys created by the installation are sufficient without any extra efforts.  Can you tell, where are the values that your application needs to write and update?
kalyangkmAuthor Commented:
By default administartors have full permissions, but other users dont have full permissions. So I need to set full permissions to all users.
Vadim RappCommented:
So add the line(s) to the table LockPermissions. You will need to find your keys in Registry table, make a note of the key (column "Registry"), then add lines to LockPermissions with that key going to the column "LockObject" , column "Table" being Registry, Domain being [%USERDOMAIN], User being Everyone, and Permission being 268435456

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vadim RappCommented:
correction: leave Domain empty.
kalyangkmAuthor Commented:
Thanks for the answer. I  have one more question.

I am creating registry keys , installing and starting services using installscript. I have no idea when should i delete keys and remove my Windows service while uninstalling. I mean, What is the function to write all removing code part_ Installshield doesnt do this by deafult.
Vadim RappCommented:
Windows Installer is supposed to remove upon un-installation everything that was installed, without any extra efforts, including services, registry keys, files, and more. One widespread scenario where it's not happening is testing your installation on "dirty" machine, especially on development machine. Always test on clean virtual machine that you can reset to just-installed snapshot by one click. Avoid testing installations on your development machine, unless you enjoy clean installations of Windows.

Make sure you run validation of your installation, and make your best to address the findings.

I would highly recommend to forget about installscript once and forever. There are very few technologies that throughout the years have resulted in the amount of trouble for the users that could compete with Installscript. Use Basic MSI.
kalyangkmAuthor Commented:
I am able to figure out the answer. Thanks for the help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.