PC Review


Reply
Thread Tools Rate Thread

c# app deployment shortcut error...

 
 
Dan =o\)
Guest
Posts: n/a
 
      27th Oct 2004
All,

Apologies if this isn't in the right newsgroup, but I was just taking my
best stab at where it may go!

I've written a C# app with VS.Net 2003, then for deployment created a setup
application. Everything works fine except that every now and again clicking
on the short-cut suddenly asks for the MSI package. Because it can't find
it, the load up cancels...

Because this application is for a corporation network, there's an IT
administrator required to install the application on a PC and they're not
convinced the application should need the MSI once it's installed, hence it
not being there.

Am I doing something wrong in the way the application is being created or
the install is being setup, or is it this a feature implemented by design
into the MSI package?

Thanks.

Dan.


 
Reply With Quote
 
 
 
 
Phil Wilson
Guest
Posts: n/a
 
      29th Oct 2004
See if any of the "Windows Installer launches unexpectedly" topics help
here:
http://www.installsite.org/pages/en/msifaq/msifaq.htm
and here in the Troubleshooting section, Every time I launch my application,
Windows Installer performs an installation...
http://www.microsoft.com/windows2000...t/msi_faq.mspx
--
Phil Wilson [MVP Windows Installer]
----
"Dan =o)" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:(E-Mail Removed)...
> All,
>
> Apologies if this isn't in the right newsgroup, but I was just taking my
> best stab at where it may go!
>
> I've written a C# app with VS.Net 2003, then for deployment created a

setup
> application. Everything works fine except that every now and again

clicking
> on the short-cut suddenly asks for the MSI package. Because it can't find
> it, the load up cancels...
>
> Because this application is for a corporation network, there's an IT
> administrator required to install the application on a PC and they're not
> convinced the application should need the MSI once it's installed, hence

it
> not being there.
>
> Am I doing something wrong in the way the application is being created or
> the install is being setup, or is it this a feature implemented by design
> into the MSI package?
>
> Thanks.
>
> Dan.
>
>



 
Reply With Quote
 
Vipul Patel
Guest
Posts: n/a
 
      31st Oct 2004
One of the files that you have installed (contained in the Deplyment
project) has got changed such that it is detected by Windows; Windows then
tries to repair this problem by reverting this changed file to as was when
first time it was installed.

Due to this, it is asking for the .MSI file path. You need to recreate the
deployment project so that such a dependency os not generated.

Regards
Vipul


PS: Try this only if the solutions suggested by Phil dont yield the results.

"Dan =o)" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:(E-Mail Removed)...
> All,
>
> Apologies if this isn't in the right newsgroup, but I was just taking my
> best stab at where it may go!
>
> I've written a C# app with VS.Net 2003, then for deployment created a
> setup application. Everything works fine except that every now and again
> clicking on the short-cut suddenly asks for the MSI package. Because it
> can't find it, the load up cancels...
>
> Because this application is for a corporation network, there's an IT
> administrator required to install the application on a PC and they're not
> convinced the application should need the MSI once it's installed, hence
> it not being there.
>
> Am I doing something wrong in the way the application is being created or
> the install is being setup, or is it this a feature implemented by design
> into the MSI package?
>
> Thanks.
>
> Dan.
>
>



 
Reply With Quote
 
Dan =o\)
Guest
Posts: n/a
 
      2nd Nov 2004
Vipul,

I know of at least one file that changes... The application holds a
username/password file that can be updated within the application, and is
used by a scanner application with which the scanner interacts.

Thanks for your feedback on this!

Dan.

"Vipul Patel" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> One of the files that you have installed (contained in the Deplyment
> project) has got changed such that it is detected by Windows; Windows then
> tries to repair this problem by reverting this changed file to as was when
> first time it was installed.
>
> Due to this, it is asking for the .MSI file path. You need to recreate the
> deployment project so that such a dependency os not generated.
>
> Regards
> Vipul
>
>
> PS: Try this only if the solutions suggested by Phil dont yield the
> results.
>
> "Dan =o)" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
> news:(E-Mail Removed)...
>> All,
>>
>> Apologies if this isn't in the right newsgroup, but I was just taking my
>> best stab at where it may go!
>>
>> I've written a C# app with VS.Net 2003, then for deployment created a
>> setup application. Everything works fine except that every now and again
>> clicking on the short-cut suddenly asks for the MSI package. Because it
>> can't find it, the load up cancels...
>>
>> Because this application is for a corporation network, there's an IT
>> administrator required to install the application on a PC and they're not
>> convinced the application should need the MSI once it's installed, hence
>> it not being there.
>>
>> Am I doing something wrong in the way the application is being created or
>> the install is being setup, or is it this a feature implemented by design
>> into the MSI package?
>>
>> Thanks.
>>
>> Dan.
>>
>>

>
>



 
Reply With Quote
 
Dan =o\)
Guest
Posts: n/a
 
      2nd Nov 2004

Thanks for that, I'll take a look into those!

Dan.


"Phil Wilson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> See if any of the "Windows Installer launches unexpectedly" topics help
> here:
> http://www.installsite.org/pages/en/msifaq/msifaq.htm
> and here in the Troubleshooting section, Every time I launch my
> application,
> Windows Installer performs an installation...
> http://www.microsoft.com/windows2000...t/msi_faq.mspx
> --
> Phil Wilson [MVP Windows Installer]
> ----
> "Dan =o)" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
> news:(E-Mail Removed)...
>> All,
>>
>> Apologies if this isn't in the right newsgroup, but I was just taking my
>> best stab at where it may go!
>>
>> I've written a C# app with VS.Net 2003, then for deployment created a

> setup
>> application. Everything works fine except that every now and again

> clicking
>> on the short-cut suddenly asks for the MSI package. Because it can't find
>> it, the load up cancels...
>>
>> Because this application is for a corporation network, there's an IT
>> administrator required to install the application on a PC and they're not
>> convinced the application should need the MSI once it's installed, hence

> it
>> not being there.
>>
>> Am I doing something wrong in the way the application is being created or
>> the install is being setup, or is it this a feature implemented by design
>> into the MSI package?
>>
>> Thanks.
>>
>> Dan.
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deployment Shortcut broken after upgrade Matt Lowrance Microsoft Dot NET 0 26th Jun 2008 08:35 PM
Deployment question: dekstop shortcut Marco von Frieling Microsoft Dot NET Compact Framework 0 5th Oct 2005 02:30 PM
Enterprise Library deployment problem. Why needs to InstallUtil DLLs to the deployment server? If not, Registry Error whould shown. Benny Ng Microsoft ASP .NET 0 3rd Oct 2005 06:40 AM
c# app deployment shortcut error... Dan =o\) Microsoft C# .NET 4 2nd Nov 2004 10:59 AM
how to create uninstall shortcut with deployment project?? bene Microsoft VC .NET 0 22nd Sep 2003 05:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:23 AM.