PDA

View Full Version : Optional Registry Update



ottawanew1
09-26-2002, 03:19 PM
My installation requires update different registry keys based on certain condition. I used to do it using InstallShield Professional. Now, I switched to InstallShield AdminStudio, can I still do it? Basic MSI project or Standard project?

Thanks

AlaksSevugan
09-26-2002, 05:58 PM
You can create a Basic MSI project, create one component for each set of registry entries and then you can add the conditions for the components.

Make sure to add the components to the features.

ottawanew1
09-27-2002, 10:14 AM
Thank you for the reply.

Can I create a block of script to update the registry with Basic MSI? Thanks!

AlaksSevugan
09-27-2002, 11:12 AM
In a Basic MSI project, you can create a Installscript Custom Action to update a block of Registry entries. If you do use this approach, you would need an uninstall custom action well.

However, if you need to stay with pure MSI, I would create one component for the block of registry entries and add a condition for this component. This handles the install and uninstall.