473,836 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

msi repair auto update block

gl
I'm currently using the old appudater util from asp.net, however this is very
similar to the updater application block offered by microsoft. Basically, I
set up a folder structure using a setup and deployment project that mimics
the folder version setup of the update block. Then i install the program and
the basic idea is that any msi will automatically update to our version on
the server (since it installs to a directory with the appstart exe and
version folder). This seemed to work fine however we ran into an issue (that
might not even be related to updating).

We create a standard shortcut that links to the appstart.exe on the user's
desktop. This works fine the first time, however after updating, the shortcut
instead starts an install process just like we were installing the msi from
scratch. We think that the msi/windows detects something with the app has
changed (which it has) and tries to fix itself. The app then generates an
error.

The temporary way to fix this is to recreate the shortcut on the desktop and
have it point directly to the appstart exe. It then works properly however
this isn't very acceptable in the long term.

So basically my questions are:
1) Can you stop that repair action, or build the project in a different way
so that the shorcut continues to work properly even though the app has
changed?
2) Is there a way to link a shortcut in a setup and deployment project
directly to an exe that you put into the project manually? (not the primary
project output). Right now the shortcut seems to point to the directory, and
not the exact file.

Thanks for any help. This has been a tough issue that i can't seem to find
an answer to.
Nov 16 '05 #1
0 1507

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1511
by: Billg_sd | last post by:
I've been assigned a task to write an auto-update utility for our customers to update their software (n-tier dotnet , db app). I've written custom installers and WMI based installs using installshield. I'm really not for "re-inventing the wheel". Is there a 3rd party solution for this? --Billg_sd
3
4984
by: williamc | last post by:
Somebody asked me if it would be possible to add auto-advance to a web form where there are a lot of repetitive 5 character fields. I took a look around the web and found a script, which appears to work in the couple of browsers I tried it in. However, when I look at the script it appears to have the wrong number of brackets. Then when I changed the script to the way I thought it should be, it still worked! I'm totally rusty on...
11
1985
by: UJ | last post by:
Has anybody had any experience writing an auto update program that will check the internet to see if there is a newer version of the code out there and download it? It doesn't seem that complicated but I just wanted to hear from people who have done it if there are any gotchas I should watch out for. TIA - Jeffrey.
3
6758
by: Eric Renken | last post by:
Does anyone know of a good auto update service. Using .NET 2.0 C#. I do not want to use InstallShields, even though that is who we use to create setups. There sales policies are starting to drive me nuts and I want nothing more to do with them. I will still their setup programs and demo shield but that is it. Thanks, Eric Renken
2
6779
by: MJB | last post by:
I'm using Visual Studio 2005 and I have built an msi using the built in setup project. My application installs fine, but on install the application itself runs a few configuration scripts which alter the original contents of the directory. The next time you start the application by clicking the shortcut the MSI automatically tries to repair/restore the install back to the out of the box configuration. Any idea how to turn this feature...
4
1346
by: Daniel | last post by:
Hey guys When you get software on your machine that does this. 1) You load the software 2) it connects to its server 3) You get a message saying 'a new version of this software exists click to download' 4) you click to download and then it downloads all the files updates your software and then loads the app
27
2360
by: Harris Kosmidhs | last post by:
Hello. sorry if this has been answered previously. I use a main wrapper div to put the whole site in it. And I use margin: 0 auto 0 auto in order to center the page. But in IE it fails. Is there a workaround for this? Thanks
9
3995
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an entirely different network), it damages the file somehow. The user's machine that did the compact/repair can see the file fine. But any networked user can't get in. I can double click on a good database file from any user (over the network) and it...
5
2228
by: teddysnips | last post by:
My client has asked if it's possible to Compact and Repair his Front End database programmatically. I remember doing this from a VB application about 10 years ago, so I wondered if it was possible in Access. The application is Access 2003 in 2002-2003 File Format. I've added the following function to the Front End in a global module: Public Function CandRDB()
0
9810
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9656
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10526
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7772
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5641
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5811
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3100
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.