CHUG1008
Posts: 9
Joined: Mon Jun 22, 2009 2:08 pm

When Updating my Windows Service I get Modify, Repair, Remo

I have a Windows Service that I developed which installs fine, however when I check for updates it detects that there is an update and the update runs, however I get the "Modify, Repair, Remove" message" I determined that I get this message only if the ".msi" update file is still in the update download directory from the previous update. Why is this file not being removed after the update is performed. All of the other windows applications that I have developed and used Advanced installer updates fine and then removes the update .MSI file from the update download directory.

Does this have anything to do with the fact that it's a Windows Service?

Any help is appreciated.
Attachments
tpVetroService.aip
(19.83 KiB) Downloaded 284 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: When Updating my Windows Service I get Modify, Repair, R

Hello,

This may happen if you have used, in your updates configuration project, the same update item for your new update package as for your previous update package. So, can you please proceed like this:
- Open you updates configuration project and go to "Updates" page.
- Add a new update, using the “New Update” context menu option, for your latest update package.
- Please note that the new update item (added in "Updates" page) should have a different name than the above updates items.
- Build your configuration project and add the updates configuration file on your server.

and see if the behavior still persist?

Also, you can enable the "Delete the downloaded update package file after installation" option, from "Updates -> Properties" tab, for all of your updates items.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CHUG1008
Posts: 9
Joined: Mon Jun 22, 2009 2:08 pm

Re: When Updating my Windows Service I get Modify, Repair, R

I tried creating a new update and that didn't resolve the issue, however checking "Delete the downloaded update package file after installation" did solve the problem. I'm a little confused why I haven't had to do this with my other applications, but I'm happy to have a solution and I think I should do this with my other applications as well. I don't see a reason why I'd want to leave the downloaded update package if the update was successful.

Thank you.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: When Updating my Windows Service I get Modify, Repair, R

You're welcome. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”