I have InstallShield 2013 Basic MSI project Is there an automatic way using a tool or script to automatically update all component code in the project ?
Asked
Active
Viewed 1,278 times
1 Answers
2
First question: why do you want to do that? A component GUID is set in stone for all absolute paths it references. See a description of this here: Change my component GUID in wix?
If you are familiar with COM automation, you should be able to automate the generation of new GUIDs in your project using the Installshield automation interface.
There are only a few cases where such an operation is logical and valid. If you are looking to install the same product many times, you can check out instance transforms. I have no real experience with this - I dislike the concept, but here are some pointers:

Community
- 1
- 1

Stein Åsmul
- 39,960
- 25
- 91
- 164
-
In the case of multiple instance installers, any component that doesn't have a file as a key path has to have unique components for each instance transform. This is a real annoyance and for my installers I typically give these components a file (any file... readme.txt) to get around that limitation. – Christopher Painter Apr 09 '14 at 15:27
-
Thanks Chris, I wasn't aware of this. I dislike the whole instance transform concept, as I said in the answer. – Stein Åsmul Apr 10 '14 at 13:18
-
I've done extensive work in this area and it's hard to understand at first but really cool when it all works. I've also done situations where instance names are defined at install time and decisions about whether to upgrade an instance or install a new instance or made at install time. It all has to be tailored to how the customer uses their software. A pain to set up but really functional once working. – Christopher Painter Apr 10 '14 at 13:24
-
Don't ask me. Patching and localization are two things I know very little about nor do I want to know anything about. – Christopher Painter Apr 10 '14 at 21:00