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

automatically delete element from upgrade table

hi,

i need a quick hint:

how can i delete a specific entry (with set a specific ActionProperty and NOT ProductCode) from the upgrade table via script?

I am sure it's something like m_UpgradeTableEntries.Delete any ideas?


my script looks like

Set oProject = CreateObject("ISWiAuto17.ISWiProject")
oProject.OpenProject "D:\InstallShield 2011 Projects\MyProject.ism"
...
For Each m_UpgradeTableEntries In oProject.ISWiUpgradeTableEntries
if ( m_UpgradeTableEntries.ActionProperty = "W_VERSION_FOUND" ) then

m_UpgradeTableEntries.Delete -> won't work 😞

end if
Next
....

thanks in advance
mv
Labels (1)
0 Kudos
(1) Reply
mary_v
Level 6

no idea anybody?

thought it would be easy for you ... 😉

then - how would i delete only one entry from the upgrade table if exist multiple entries with the same UpgradeCode?

mary
0 Kudos