| Author |
Message |
   
sacramento
New member Username: sacramento
Post Number: 6 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, April 08, 2008 - 09:45 pm: |
|
Ok Randem.. Thanks |
   
randem
Moderator Username: randem
Post Number: 722 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, April 08, 2008 - 10:01 am: |
|
APPDATA is a Windows location. You can see where it is by opening a command prompt (DOS Box) and typing in: Set Appdata You will then get the location of where files basically should be stored. If you go to the webpage http://www.randem.com/freeware.html (Make Your Application Limited User Compliant) you can download a project that will should you how to programatically get these location so that your app can access the data stored there. What I like to do is to install all the data into the \Program Files\ folder then upon the apps launch check the Appdata folder to see if the folders and data exist for my app. If they do not exist then I copy the data from \Program Files\ to the AppData location and let my app use that data. I keep the \Program Files\ data as a back up and to use in case another user on the computer uses the app the same thing happens and they have a initialized copy of the startup data in their profile. |
   
sacramento
New member Username: sacramento
Post Number: 5 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, April 08, 2008 - 08:34 am: |
|
hi randem: In fact the problem it was in the instalation...I had remove the files you have tell me and now the reports appear nicely on Vista.. About APPDATA,can you tell where i can put the files I had remove?because I have a little knowledge about innosetup... Thanks |
   
randem
Moderator Username: randem
Post Number: 718 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, April 07, 2008 - 11:17 pm: |
|
Just a note: DefaultDirName={pf}\Norwin for better usage. The user may have his \Program Files\ folder else where and in a different language this would automatically translate to the correct verbage. |
   
randem
Moderator Username: randem
Post Number: 717 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, April 07, 2008 - 11:13 pm: |
|
One problem with your script that I see is that you are deploying a mdb and your rpt file in the \Program Files\ folder. A big no-no on Vista. You should move these files to the APPDATA folder or at least out of the protected area of the \Program Files\ folder. Try that first and we will go on from there. |
   
sacramento
New member Username: sacramento
Post Number: 4 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, April 07, 2008 - 10:59 pm: |
|
Hi Randem: I attach the script... |
   
randem
Moderator Username: randem
Post Number: 715 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, April 07, 2008 - 04:59 pm: |
|
Please show what you have in your script. You may be deploying something incorrectly. |
   
sacramento
New member Username: sacramento
Post Number: 3 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, April 07, 2008 - 05:50 am: |
|
Hi: I had make a installer with InnoSetup with RDC for CR...work well in Windows XP,but in Vista when I start the reports I have a "beautiful error":Invalid TLV record... I need to do something more in Vista? Thanks |