Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

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

Dynamically Linked Help

Project Type: InstallScript MSI

We've discovered one little glitch in our update process. We have a dynamically linked folder whose contents change from one build to the next. It's a web site directory and we have a ClickOnce client application whose directory changes with each build (the directory name includes the build number). When we go from build 20 to build 21, the directory name changes from 10_0_0_20 to 10_0_0_21 and the new directory is not created but the old one is left in place. How can we get around this and/or fix this problem without having to perform a major upgrade on every build?
Labels (1)
0 Kudos
2 Replies
J_anitha
Level 8

Minor upgrades will not remove old files\folders. You will have delete them using DeleteDir().
0 Kudos
honolua
Level 7

Thanks for the reply. I can get the version number of the installed package from our registry hive to figure out the directory name to delete.
0 Kudos