This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- InstallShield Automation Interface fun
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2007
10:43 AM
InstallShield Automation Interface fun
Our source control is structured such that successive versions (i.e. after code split) of the software actually change the root path of the code sync location. In order to make my life easier come code split time, I created a new path property in all of my IS projects that contains the root path, and then set the root path value. On all the other path variables that were already there pointing to the files in the project, I changed them like this:
\subdir1
\subdir2
This works great. So now I have only one value to change in each project when we split, and my life is easier. Now here's my question. I'd like to take this one step further. Is there a way I can set the value of via the automation interface? I saw that there is an AddProperty method... will that work? It would be great if I could set this via the automation interface, because then I could just include the path as part of the build script, so that no matter where the build syncs the files to, as long the structure remains the same, the root path will automatically be set with no user intervention.
Has anyone played with something like this before?
Many thanks,
Mark
This works great. So now I have only one value to change in each project when we split, and my life is easier. Now here's my question. I'd like to take this one step further. Is there a way I can set the value of
Has anyone played with something like this before?
Many thanks,
Mark
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2007
10:51 AM
InstallShield 2008 added the ISWiPathVariable object to the Automation interface, so you might look at the documentation for its properties and methods...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2007
10:56 AM
I must have missed that. Thanks for the prompt reply. If I keep this up, I'll automate myself right out of a job. 🙂