Appdata an Vista

Started by Randem, August 17, 2008, 08:58:05 AM

Previous topic - Next topic

Randem

So what is the status?

Randem

this is what the log should look like
 
 
 
You probably looked at the Install.log and I never asked for that one.

Randem

It can't be. There were things that happened before that happened. Did you install under the same user? Run the installation and check again. There will be another log with the current date and a higher number for the log.

sacramento

Sory...that's the Whole Log

Randem

The whole log would help...

sacramento

This is that i have in the log:
 
Registering craxdrt.dll
 
{91FDA5AF-C945-4DDC-8C32-29A790CF16F0}b.5
 
C:ProgramasBusiness ObjectsCommon3.5bincraxdrt.dll
*************************************************

Randem

Check your installation log in the installation users temp folder for a file named Setup Log followed by the date and then a number. This will tell you what happened during installation.
 
Did you allow your app to copy your data into the users data area?

sacramento

Hi Randem:
 
I had change a few thinks in my code and i had installed in a Clean System with Vista...The program work well,but when i call the report I got this error:
 
Run time error:
Component CRViewer.dll or one of it's dependencies not correctly registered:a file is missing or invalid
 
Innosetup don't regist this component in the installation?Or this is something else?
 
Thanks

sacramento

Ok...I will chance my code in VB and then try this metthod...
 
Thanks

Randem

Yes, that is the way things should have been coded since NT 4.0. Coders were very lax in doing this and it will cost them in the move to Vista. It is for the users and application protection.

sacramento

This is very strange in Vista...I can not use my reports,and mdb's, in my folder?I need to remove them for C:Documents and SettingsTheUsersNameLocal SettingsApplication DataYourCompanyNameYourProductName
 
Off course this is metthod is compatible with XP no?

Randem

You need to reconstruct where you will be placing your data files. Vista just enforces this. The method has been around since NT 4. You need to use the {localappdata} or C:Documents and SettingsTheUsersNameLocal SettingsApplication DataYourCompanyNameYourProductName. You can also use the All Users location also if this database is to be share between multiple users on the same computer.
 
You can install the mdb in the {app} folder but on application startup it should be copied to the proper location.

sacramento

Hi:
 
Yes the CR installation happen!but when I start the program and try to see an Report I got a error!
Because I cannot place the rpt in files that's I have this problem...Where I put the rpt?

Randem

You will most likely have to turn off UAC to install it then turn UAC back on also.

Randem

Please elaborate I don't have CR installed. Does the CR installation happen?  
 
Installation on Vista is a different animal have you read Installing on Vista
 
You cannot place the mdb in the {app} folder and possibly the .rpt files either.