473,396 Members | 2,029 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,396 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 1701
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...

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.