473,473 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB.Net Installer failure over network

I have a VB.Net installer that I created that uses another program I wrote
to facilitate the install. The installer program I created
(System.Configuration.Install) handles the various events like
MyBase.AfterUninstall, etc. This program works fine but when I run the
installer on a network resource (a UNC path) it generates a
System.Security.Security exception before the program even starts. The .MSI
installer kicks off just fine, but throws the exception just when the .EXE
program starts.

Any idea on what may be happening?

Here's more details:
1. Launch Condition: Search for file C:\DELETEME.TXT. If file doesn't exits
start MyInstaller.exe using error message "Do you want to install?" and
URL:[SourceDir]\MyInstaller.exe
2. MyInstaller.exe runs and creates C:\DELETEME.TXT, backup some files from
any previous install by renaming them, then runs [SourceDir]\Setup.exe
3. Setup.exe runs, sees that C:\DELETEME.TXT exists then finishes the
install. The AfterInstall event in MyInstaller.exe deletes C:\DELETEME.TXT

When I run over a network I attach the process in visual studio and I can't
get past the dialog box "Do you want to install?". When I break in the code
from the exception it looks like I never even loaded MyInstaller.exe.

The installer works fine if the UNC drive is mapped, or if a local drive.

Nov 20 '05 #1
0 1098

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

Similar topics

2
by: nt | last post by:
I am having a problem with a regular backup of an SQL Server (MSDE 2000) database to a local drive. I initiate the backup once a week, by issuing the required T-SQL, via ADO. In this case, the...
0
by: Tamim | last post by:
Hi all, I've created a setup project for an application, including a custom action database installer, how ever the code was taken from a microsoft article on MSDN Each time i try to install...
3
by: Ryan | last post by:
I have a simple project, most of it generated by Visual Studio. Public Windows Service Installer (Also generated), with : public class ProjectInstaller : System.Configuration.Install.Installer...
11
by: kshetgar | last post by:
I am experiencing a wierd problem... I have a C#.Net application Server which uses Sockets. It listens on port 11000. and it runs as a Windows Service. If I run it as a consple Application,...
0
by: Bernie Hunt | last post by:
I'm not sure where to ask this question so I'll start here. I have an app with an installer program that has been delivered before. The user wanted a change, so I made it and rebuilt the installer....
1
by: sreejithp | last post by:
Hello, I am new to python. I have been trying to connect to telnet and feed some data from a server. Its working properly. I used the connectionObj.read_until() method to read the data from the...
12
by: chardish | last post by:
Hello, I'm trying to build an executable with py2exe, but unfortunately the version I have is 0.6.6, which has a rather annoying bug that doesn't let you rename the executable file if you bundle...
0
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
5
by: Phil | last post by:
A file used by my application may be stored on a shared network drive, so that it can be accessed by different people using the same application. I have written some code that uses an...
0
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,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.