I have used the Insert Line to add two lines to the services file, however when the package is uninstalled, the two lines do not get removed. Does any one know how to work around this?
bingen Melchisedech
Joined: 04 Jun 2004
Posts: 260
Location: 48°42' n.Br./09°09' ö.L.
Posted:
Thu, 08.Mar.2007, 08:35
jacel wrote:
I have used the Insert Line to add two lines to the services file, however when the package is uninstalled, the two lines do not get removed. Does any one know how to work around this?
since the services file is a plain text file and msi originally doesn't support textfile manipulation you only can accomplish this with a custom action.
shouldn't be hard to write a js or vbs which adds a line to the file, since you don't want to delete them on uninstall.
stefan has made a little program for this scanario called services.exe (which also removes the lines on uninstall). i think it's freeware. just write him about it (username: hotans) or check his website at hotan.biz
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Service provided by flatbyte.com
::
Powered by phpBB
:: FI Theme
:: Imprint ::
All times are GMT + 1 Hour