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
- :
- automatically delete element from upgrade table
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
Apr 07, 2011
12:58 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 08, 2011
02:44 AM
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
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
