Windows installer starts when vb app starts

Visual Basic


  • 1. Erase content of a file
    How can I erase the content of a file in VB6? I have a tool that creates a logfile on ta path with only create,read & write rights (NO delete rights) If i run the tool a second time it should erase the content of the logfile first instead of deleteing the file.
  • 2. Preview office document
    Hi, anyone know, how to make preview of doc, xls and ppt documents in vb6 without opening Word, Excel and PPT? tnx
  • 3. n. character of a string
    hello how can i get n. charackter of a string? I want to split a number with points (ex : 120.000.000) when user inputs a value(120000000) in textbox best regards...

Windows installer starts when vb app starts

Postby tk » Fri, 26 May 2006 00:12:33 GMT

I have a PC that will start the windows installer program when a vb app 
starts.  It is trying to configure MS Office XP for some reason.  If the 
user has admin rights on the machine, I don't get the dialog box.  Any ideas 
what would cause this behavior?


RE: Windows installer starts when vb app starts

Postby QWxhc3RhaXIgTWFjRmFybGFuZQ » Fri, 26 May 2006 00:47:03 GMT


Could you be using any form of Office automation. If you are and office 
needs some files from the original installation to see through your request 
the installation wizard will run? Can you give the group more information to 
advise you.


Re: Windows installer starts when vb app starts

Postby Ralph » Fri, 26 May 2006 01:01:04 GMT


This is a common phenonmena and has a variety of causes - installing
packages that have common components by different Users, an incomplete
Office install, an error during an install, etc.

No matter what the cause, the most common 'repair' is to simply allow the
Windows Installer to run and complete whatever it feels it needs to do.


Re: Windows installer starts when vb app starts

Postby tk » Fri, 26 May 2006 23:55:50 GMT

This particular app does not use Office automations.

Thanks for your reply

"Alastair MacFarlane" < XXXX@XXXXX.COM > wrote 

Re: Windows installer starts when vb app starts

Postby Ralph » Sat, 27 May 2006 00:47:30 GMT



The application does NOT have to use "Office Automation" for this behavior
to occur.

In your case I can be almost 95% sure, that some package that shares
components with Office and your application has been installed by admin on
the box and didn't setup other users correctly or left trailing registry

It is not the fault of your app - it is in fact the fault of the admin who
installed the other product or the fault of the installation package -
either through ignorance or carelessness - don't matter.

Tell the admin to either read the manuals, pay attention to what she is
doing, or seek another line of employment.


Similar Threads:

1.Starting VB app causes Windows Installer to start

When I start a VB app on a Windows XP SP2 machine, I get a dialog from 
Windows Installer with the following dialog: Please wait while Windows 
configures Microsoft Office XP... Gathering required information.

If I sign on as a different user, I don't get the dialog.  I thought it was 
an issue with his profile, so I re-created it but I still get the same 
error.  The program had worked fine until a couple of days ago.  There 
hasn't been any changes to the machine at all.

Any help would be appreciated.


2.Office 2k Installer always starts when I start a VB APP

On windows 2003 server with terminal services activated we 
have Office Proffessional install and configured with 
other applications wriiten in VB. Our problem is each time 
we start the VB application it starts the Office installer 
and the same user can go through the installation and 
logoff and then relogin the installer starts again. I have 
installed Office with all the options set to Run From my 
Local Machine and yet still I have this problem. I will 
appreciate any helkp I can get on this issue.


3.System tray icon does not always show when starting app when Windows starts

I am using VS2005 (vb) and I have a program that starts when Windows boots 
up.  Occasionally the icon that should appear in the system tray does not 
show up.  The program is still running in memory but the tray icon is not 
there.  If I start the program after Windows has booted up the icon shows 
every time.  I am assuming that the reason is due to the icon being created 
before the system tray is loaded/running.   I have used a timer with "dim 
notifyicon1 as new notifyicon" every few seconds and that works but I am 
afraid I am eating up memory doing that or is that "ok" to do?

Is there any way to detect if the system tray is not running so I can delay 
the creation of the tray icon until it is?

4.Windows Installer Attempts Config of MSDN Library Every Time I Start VB.NET 2003

I've recently installed Visual Basic .NET 2003 Standard 
on my XP Pro machine. The machine has been powered off 
and on and rebooted various times since installation. 
Still, each time I start VB.NET 2003, the Windows 
Installer attempts to configure the MSDN Library that 
accompanied the standard package.

Search of the FAQ and of the newsgroups failed to recover 
indications that it's a known issue, or that anyone else 
has had this problem. 

Any ideas on how to resolve?

Thank you very kindly,


5.Running VB programs starts Windows Installer...

Whenever I run a program created with VB 6.0 SP5, Windows 
installer launches and tries to run one of my "msi" 
files.  I have since deleted the msi file, but Windows 
Installer still runs, cannot find the file and exits.  The 
VB program then runs normally.  I'm not sure what I did to 
cause this behavior with VB but Installer also runs when I 
fire up the IDE.  

Can anyone clue me in on what may be occuring?

Thanks in advance.


6. TurboCAD/AutoCAD installer starts when my VB6 program starts

7. Make installer make app start up on login

8. Problem: Running VB6 app. starts another installer

Return to Visual Basic


Who is online

Users browsing this forum: No registered users and 97 guest