473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Setup reruns for each new user of an application?

I have a Windows form application developed in VS 2003 C# I am using
Installshield to install it. After running Setup, each time a new user runs
the application for the first time Setup attempts to run. I thought I had
run this down before as being a file set with AlwaysCreate = true in the
setup project, but the only change I've made is to add a Word DOC file in the
setup (just copying it, not opening it) and I can't find any instances of
AlwaysCreate = true.

Can anybody tell me what might be causing this? Thanks in advance for any
help.
Nov 22 '05 #1
4 1698
Byron wrote:

Can anybody tell me what might be causing this? Thanks in advance for any
help.


I'm not a ".Net" guy but... can't you tell InstallShield you want to
install to "All Users"? We've used InstallShield Express for years
(upgraded to AdminStudio just last week) and we normally just tell the
end users to install to "All Users".

The thing is, the Windows Installer service monitors your app during
startup. If there's even the slightest problem (missing reg entry for
that user, missing file, wrong permissions on a file, etc, etc), setup
will start again and attempt to Repair itself.

The confusing part is... since I'm a "VB Classic guy", the components I
require are shared with Office/etc. That means if the end user
uninstalls Office or does anything related to any of the components I've
installed or Office has installed, the Repair starts no matter if it's
my app they're starting or some Office app.

I've written a Custom Action in VB6 that "copies" misc. files to various
folders instead of letting Windows Installer do it. The reason for that
was... we have a few "default" files that generally get deleted after
everything's setup and running for a week or two. If we let
InstallShield "install" those files, when the end user deletes those
files, setup will "repair" them right back. Since I'm just copying them,
the Windows Installer service doesn't care what happens to them.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Nov 22 '05 #2
Byron wrote:

Can anybody tell me what might be causing this? Thanks in advance for any
help.


I'm not a ".Net" guy but... can't you tell InstallShield you want to
install to "All Users"? We've used InstallShield Express for years
(upgraded to AdminStudio just last week) and we normally just tell the
end users to install to "All Users".

The thing is, the Windows Installer service monitors your app during
startup. If there's even the slightest problem (missing reg entry for
that user, missing file, wrong permissions on a file, etc, etc), setup
will start again and attempt to Repair itself.

The confusing part is... since I'm a "VB Classic guy", the components I
require are shared with Office/etc. That means if the end user
uninstalls Office or does anything related to any of the components I've
installed or Office has installed, the Repair starts no matter if it's
my app they're starting or some Office app.

I've written a Custom Action in VB6 that "copies" misc. files to various
folders instead of letting Windows Installer do it. The reason for that
was... we have a few "default" files that generally get deleted after
everything's setup and running for a week or two. If we let
InstallShield "install" those files, when the end user deletes those
files, setup will "repair" them right back. Since I'm just copying them,
the Windows Installer service doesn't care what happens to them.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Nov 22 '05 #3
Thanks for the reply, but I am selecting Everyone when I install and the
re-run of setup even happens when I immediately run the application as the
same user I just installed as.

"Ken Halter" wrote:
Byron wrote:

Can anybody tell me what might be causing this? Thanks in advance for any
help.


I'm not a ".Net" guy but... can't you tell InstallShield you want to
install to "All Users"? We've used InstallShield Express for years
(upgraded to AdminStudio just last week) and we normally just tell the
end users to install to "All Users".

The thing is, the Windows Installer service monitors your app during
startup. If there's even the slightest problem (missing reg entry for
that user, missing file, wrong permissions on a file, etc, etc), setup
will start again and attempt to Repair itself.

The confusing part is... since I'm a "VB Classic guy", the components I
require are shared with Office/etc. That means if the end user
uninstalls Office or does anything related to any of the components I've
installed or Office has installed, the Repair starts no matter if it's
my app they're starting or some Office app.

I've written a Custom Action in VB6 that "copies" misc. files to various
folders instead of letting Windows Installer do it. The reason for that
was... we have a few "default" files that generally get deleted after
everything's setup and running for a week or two. If we let
InstallShield "install" those files, when the end user deletes those
files, setup will "repair" them right back. Since I'm just copying them,
the Windows Installer service doesn't care what happens to them.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..

Nov 22 '05 #4
Thanks for the reply, but I am selecting Everyone when I install and the
re-run of setup even happens when I immediately run the application as the
same user I just installed as.

"Ken Halter" wrote:
Byron wrote:

Can anybody tell me what might be causing this? Thanks in advance for any
help.


I'm not a ".Net" guy but... can't you tell InstallShield you want to
install to "All Users"? We've used InstallShield Express for years
(upgraded to AdminStudio just last week) and we normally just tell the
end users to install to "All Users".

The thing is, the Windows Installer service monitors your app during
startup. If there's even the slightest problem (missing reg entry for
that user, missing file, wrong permissions on a file, etc, etc), setup
will start again and attempt to Repair itself.

The confusing part is... since I'm a "VB Classic guy", the components I
require are shared with Office/etc. That means if the end user
uninstalls Office or does anything related to any of the components I've
installed or Office has installed, the Repair starts no matter if it's
my app they're starting or some Office app.

I've written a Custom Action in VB6 that "copies" misc. files to various
folders instead of letting Windows Installer do it. The reason for that
was... we have a few "default" files that generally get deleted after
everything's setup and running for a week or two. If we let
InstallShield "install" those files, when the end user deletes those
files, setup will "repair" them right back. Since I'm just copying them,
the Windows Installer service doesn't care what happens to them.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..

Nov 22 '05 #5

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

Similar topics

2
by: Byron | last post by:
I have a Windows form application developed in VS 2003 C# I am using Installshield to install it. After running Setup, each time a new user runs the application for the first time Setup attempts...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
0
by: James Redd | last post by:
Hi, I am looking for a good book or source of information on how to best setup a multiple printer gui. The application I'm working on runs on a server where each user has their own login. The...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
2
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went...
2
by: asadikhan | last post by:
I had v1.0, v1.1 and v2.0 of .NET framework installed on my laptop and that was causing me a lot of grief. So I uninstalled v2.0 and pressed on with developing stuff in v1.0. Everything was great....
3
by: =?Utf-8?B?WmlhbmdpIEpvbmVz?= | last post by:
Hi, I m using VS .NET 2003 to create a website. Using the setup package I create a setup as well. But this setup has files with actual code in it & not pre-compiled DLLs. Please let me know...
2
kaushalparik
by: kaushalparik | last post by:
hi all, i am working with Desktop application, and trying to create a setup project. i finalized my application and now creating the setup for that application. what i need to do is, with in...
3
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
1
by: Claire | last post by:
Ive written a small string resource building utility that I send out to our translators. I have a setup project for each language we support, which picks out a group of 12 english resx files plus...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.