The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to modify any table with automation

CChong
By Level 11 Flexeran
Level 11 Flexeran
Hello,
I succeeded to modify a project (.ism) with another one with automation only int the Property table
Is a simple way to do the same in another table ? (the Directory one for exemple)

My working code :
set BIBProject = CreateObject ("ISWiAutomation.ISWiProject");
BIBProject.OpenProject ("C:\\_indus\\template.ism");

MessageBox (BIBProject.ProductVersion, INFORMATION);
BIBProject.ProductVersion=2;
BIBProject.ProductName="Template BIB";
BIBProject.SaveProject;
BIBProject.CloseProject;

Could you give me a concrete exemple ? (add some lines to my code to modify another table)

Thank's
(1) Reply

RobertDickau
By
Flexera Alumni
For an overview of using MSI Automation to modify a Developer project file, please see this InstallShield newsletter article: http://www.installshield.com/news/newsletter/0203-articles/msi-automation.asp.