Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Installer Preparing to install...

Status
Not open for further replies.

Frank336

MIS
Aug 6, 2002
41
CA

Hi,

i've got a problem with my application. Im using VB6 with an access database. In developping on Windows 2000.

When I am log as "administrator" I can run my program without any trouble but if I'm log as a normal user :

1) A message box "Windows Installer-preparing to install"; message box with progress bar "Please wait while Windows configures Microsoft Office 2000 SR-1 Disc 2"; progress bar goes about half way, then
2) message box "Error 1706. No valid source could be found for product Microsoft Office 2000 SR-1 Disc 2. The Windows installer cannot continue". I click on "OK".

After that, my program can run normally (that process sometimes occur to 2 times in a row). I want to eliminate those weird messages box.

I've check my code and notice that the problem happen at the line :

' IDFormat is StdDataFormat type
IDFormat.Format = "00000000"

I put that line in comment and now the problem is at the line :
Load formeOptions

The problem also occurs almost everywhere in the program.
Nothing of that happen when i'm logged as Administrator. Im using Visual Studio Installer. Do I have to change right or something so that normal can run the program normally ? Should I try to reinstall Office 2000 ? ( I Used to have a similar problem with opening .mdb files)


thanks,
Frank

(Sorry for my bad english)


 
Hey Frank,

Your program is trying to access MDAC to read the DB. Since Office was installed under the administrative user your using doesn't have permissions to use MDAC. It does however have something called an advertise install set up. This means if something is not there it will try to install it. Even though it is really there you don't have permissions to access it.

SO it tries to instal, then looks to see if it is there now, then uses it.

TO get by this problem I would suggest installing the latest MDAC from microsoft. When you install it be sure to specify that all users should be able to access it. Craig, mailto:sander@cogeco.ca

In the computer industry, there are three kinds of lies:
lies, damn lies, and benchmarks.
 

Thanks for your response Craig but it didn't work. Ive install the latest MDAC (I don't know where I can tell that all users can access it), but the same error occur.


I really don't know what to do. Any other tips ? Anyone had similar prolems ?

thanks
Frank
 

Thanks VBOldTimer but that solution didn't work. Anyone else ? :)

Thanks,
Frank

 
Dear Frank,

This could be the problem with the registry when u log on as any other user. System is not updating the registry. Uninstall Office completely. Switch off the machin and then restart. Try installing it again. This could solve the problem.

Sanjay
 
hi i have found that when you install Microsoft Office 2000 SR-1 Disk 1 and Disc 2 under an administrator profile you need to run it once under the administrator profile then log into your user profile with admin right atached to them run word ect again then take admin rights away from the user and all should be good
hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top