Computing.Net > Forums > Programming > VB.NET Setup Project/Installer Clas

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB.NET Setup Project/Installer Clas

Reply to Message Icon

Name: wizard-ict
Date: May 10, 2007 at 13:44:41 Pacific
OS: XP
CPU/Ram: P4
Product: wizard-ict
Comment:

I've just built my first project in VB.Net (using Visual Studio 2005) that requires custom actions on install. To achieve this I've added a Windows Installer class to the custom actions of my Setup Project.
All works fine, the application installs and the custom actions are carried out as planned (this basically consists of moving some files and changing a couple of registry entries).
However, if I close the application and restart it it basically reinstalls itself and runs the installer class again. If I move or rename the original MSI package the application won't run at all, generating an error and asking for the location of the MSI package.
Does anyone have any idea what's causing this? The MSI package is only supposed to be a one-off installer, the application shouldn't rely on it to run!
If I remove the custom installer class this doesn't happen so it has to be related to that, I just can't figure out exactly why.


Wizard ICT. Microsoft Certified Professional



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Batch File to Extract dat... Date Batch Script



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB.NET Setup Project/Installer Clas

vb.net setup overwrite a vb6 setup www.computing.net/answers/programming/vbnet-setup-overwrite-a-vb6-setup-/13050.html

Fail to Setup VB.NET www.computing.net/answers/programming/fail-to-setup-vbnet-/12179.html

VB.NET service www.computing.net/answers/programming/vbnet-service/12648.html