msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Installation software suggestions for win 98/XP/Vista for my

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Deployment
Author Message
Brian_Taylor



Joined: 04 Feb 2008
Posts: 6

PostPosted: Sun Feb 03, 2008 5:43 pm    Post subject: Installation software suggestions for win 98/XP/Vista for my Reply with quote

I have software using VB 6.0 with ADO and simple Access 2003 databases

I need suggestions on installation software to get this setup on users
windows computers of win 98, XP and Vista.

Thank you.

--
Brian

Archived from group: microsoft>public>vb>deployment
Back to top
View user's profile Send private message
Ralph



Joined: 04 Oct 2007
Posts: 4148

PostPosted: Sun Feb 03, 2008 8:22 pm    Post subject: Re: Installation software suggestions for win 98/XP/Vista fo Reply with quote

"Brian_Taylor" wrote in message@microsoft.com...
> I have software using VB 6.0 with ADO and simple Access 2003 databases
>
> I need suggestions on installation software to get this setup on users
> windows computers of win 98, XP and Vista.
>

Look up "CSIDL Values" in the MSDN Help or online.
This values can be used to seek out comparable folders on a range of Windows
versions no matter where they are physically stored. Vista uses new enums,
but CSIDL values are still supported.
http://msdn2.microsoft.com/en-us/library/bb762494.aspx

Since you need to support such a wide range you will need to limit yourself
to a subset of the total defined.

The important thing is too break out your settings into three basic
categories - User-specific, Machine-Specific (All-users), and
Application-Specific, and how and when you app will read and write to those
settings. That will help you to decide which folder is the over-all best.
Note: Few are totally exclusive, so you may have several to select from. And
vice versa there is no one folder that is always best for all apps. In the
final analysis it depends on your app and its requirements.

hth
-ralph
Back to top
View user's profile Send private message
Brian_Taylor



Joined: 04 Feb 2008
Posts: 6

PostPosted: Sun Feb 03, 2008 6:45 pm    Post subject: Re: Installation software suggestions for win 98/XP/Vista fo Reply with quote

So the only think to put in program files is the program executables (read
only)
where do I put my database that runs with that application?

--
Brian



"Ralph" wrote:

>
> "Brian_Taylor" wrote in message
> @microsoft.com...
> > I have software using VB 6.0 with ADO and simple Access 2003 databases
> >
> > I need suggestions on installation software to get this setup on users
> > windows computers of win 98, XP and Vista.
> >
>
> Look up "CSIDL Values" in the MSDN Help or online.
> This values can be used to seek out comparable folders on a range of Windows
> versions no matter where they are physically stored. Vista uses new enums,
> but CSIDL values are still supported.
> http://msdn2.microsoft.com/en-us/library/bb762494.aspx
>
> Since you need to support such a wide range you will need to limit yourself
> to a subset of the total defined.
>
> The important thing is too break out your settings into three basic
> categories - User-specific, Machine-Specific (All-users), and
> Application-Specific, and how and when you app will read and write to those
> settings. That will help you to decide which folder is the over-all best.
> Note: Few are totally exclusive, so you may have several to select from. And
> vice versa there is no one folder that is always best for all apps. In the
> final analysis it depends on your app and its requirements.
>
> hth
> -ralph
>
>
>
Back to top
View user's profile Send private message
davide77



Joined: 13 Feb 2008
Posts: 2

PostPosted: Wed Feb 13, 2008 7:08 am    Post subject: Re: Installation software suggestions for win 98/XP/Vista fo Reply with quote

On 3 Feb, 22:45, Brian_Taylor
wrote:
> So the only think to put in program files is the program executables (read
> only)
> where do I put my database that runs with that application?
>
> --
> Brian
>
>
>
> "Ralph" wrote:
>
> > "Brian_Taylor" wrote in message
> >@microsoft.com...
> > > I have software using VB 6.0 with ADO and simple Access 2003 databases
>
> > > I need suggestions on installation software to get this setup on users
> > > windows computers of win 98, XP and Vista.
>
> > Look up "CSIDL Values" in the MSDN Help or online.
> > This values can be used to seek out comparable folders on a range of Windows
> > versions no matter where they are physically stored. Vista uses new enums,
> > but CSIDL values are still supported.
> >http://msdn2.microsoft.com/en-us/library/bb762494.aspx
>
> > Since you need to support such a wide range you will need to limit yourself
> > to a subset of the total defined.
>
> > The important thing is too break out your settings into three basic
> > categories - User-specific, Machine-Specific (All-users), and
> > Application-Specific, and how and when you app will read and write to those
> > settings. That will help you to decide which folder is the over-all best.
> > Note: Few are totally exclusive, so you may have several to select from. And
> > vice versa there is no one folder that is always best for all apps. In the
> > final analysis it depends on your app and its requirements.
>
> > hth
> > -ralph- Nascondi testo tra virgolette -
>
> - Mostra testo tra virgolette -

I have the same problem in vista...first time I launch my software it
copies(with FileCopy function) some files and folders into ProgramData
(the special folder CSIDL_APPDATA)and well if I launch my application
second time logged as other user VISTA copies it in VIRTUALSTORE
directory of the user who launched the application...I think I have a
problem with priviligies.
how to set privileges for all users at runtime?
thank u in advance,
davide
Back to top
View user's profile Send private message
davide77



Joined: 13 Feb 2008
Posts: 2

PostPosted: Wed Feb 13, 2008 7:09 am    Post subject: Re: Installation software suggestions for win 98/XP/Vista fo Reply with quote

On 3 Feb, 22:45, Brian_Taylor
wrote:
> So the only think to put in program files is the program executables (read
> only)
> where do I put my database that runs with that application?
>
> --
> Brian
>
>
>
> "Ralph" wrote:
>
> > "Brian_Taylor" wrote in message
> >@microsoft.com...
> > > I have software using VB 6.0 with ADO and simple Access 2003 databases
>
> > > I need suggestions on installation software to get this setup on users
> > > windows computers of win 98, XP and Vista.
>
> > Look up "CSIDL Values" in the MSDN Help or online.
> > This values can be used to seek out comparable folders on a range of Windows
> > versions no matter where they are physically stored. Vista uses new enums,
> > but CSIDL values are still supported.
> >http://msdn2.microsoft.com/en-us/library/bb762494.aspx
>
> > Since you need to support such a wide range you will need to limit yourself
> > to a subset of the total defined.
>
> > The important thing is too break out your settings into three basic
> > categories - User-specific, Machine-Specific (All-users), and
> > Application-Specific, and how and when you app will read and write to those
> > settings. That will help you to decide which folder is the over-all best.
> > Note: Few are totally exclusive, so you may have several to select from. And
> > vice versa there is no one folder that is always best for all apps. In the
> > final analysis it depends on your app and its requirements.
>
> > hth
> > -ralph- Nascondi testo tra virgolette -
>
> - Mostra testo tra virgolette -

I have the same problem in vista...first time I launch my software it
copies(with FileCopy function) some files and folders into ProgramData
(the special folder CSIDL_APPDATA)and well if I launch my application
second time logged as other user VISTA copies it in VIRTUALSTORE
directory of the user who launched the application...I think I have a
problem with priviligies.
how to set privileges for all users at runtime?
thank u in advance,
davide
Back to top
View user's profile Send private message
Ralph



Joined: 04 Oct 2007
Posts: 4148

PostPosted: Wed Feb 13, 2008 1:11 pm    Post subject: Re: Installation software suggestions for win 98/XP/Vista fo Reply with quote

"davide77" wrote in message@e6g2000prf.googlegroups.com...
> On 3 Feb, 22:45, Brian_Taylor
> wrote:

>
> I have the same problem in vista...first time I launch my software it
> copies(with FileCopy function) some files and folders into ProgramData
> (the special folder CSIDL_APPDATA)and well if I launch my application
> second time logged as other user VISTA copies it in VIRTUALSTORE
> directory of the user who launched the application...I think I have a
> problem with priviligies.
> how to set privileges for all users at runtime?
> thank u in advance,
> davide

Check out the new 'Public' constants.
http://msdn2.microsoft.com/en-us/library/bb762584(VS.85).aspx

Vista gets confusing for developers of previous Windows versions, because it
supports a compatibility mode, where it will create 'virtual' folders. ie,
your App thinks it puts something one place, but physically it may actually
exist somewhere else. That is the main advantage of the standard folder
constants - if you use them consistently then items will be where expected -
no matter where they really are.

This might be useful to learn the lingo and where to go for additional
information:
Teach Your Apps To Play Nicely With Windows Vista User Account Control
http://msdn.microsoft.com/msdnmag/issues/07/01/UAC/

-ralph

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group