Page 6 of 6 FirstFirst ... 456
Results 51 to 60 of 60

Thread: C7 - Accessory Directory?

  1. #51

    Default Re: C7 - Accessory Directory?

    The moment we can install where we want ...... from the installer ..... as
    far as I am concerned : I do not want anything under an impossible path to
    remember like c:\users\xxx\tttttt

    For my machine all was and all will go to a special clarion partition

    Like Russ said he did not want to use my installers, I will not install
    templates who do not allow users to select the directory to install into

    This is maybe one good reason : you all never needed to check that an clw
    file or an inc file from a template you had was the good version ?
    and to check this you never tried installing to any temp dir or partition
    etc ?
    well I do from time to time and if all goes always same place (unwanted
    moreover) then ....

    I know .....

    --

    Thank you - Merci

    Cordialement - Best Regards
    Jean-Pierre GUTSATZ

    DMC - Data Management Center - A tool to let you Migrate Import Export
    Transfer all your Data very easily
    www.dmc-fr.com
    Certified by Microsoft : "Works with Vista" & "Works with Windows Server
    2008"

  2. #52

    Default Re: C7 - Accessory Directory?

    Hi Jean-Pierre,

    > 1. I am a new born dev and as such am eager to learn and have no drawbacks
    > or predefined preferences
    > 2. I would like to distribute an app to all windows OS
    > 3. My software is a tool which requires access to MACHINE ODBC drivers ( I
    > upper machine because I have found out that since a year on Vista and
    > upper Microsoft does not give access to ODBC drivers to non elevated users
    > : the list is empty although drivers ARE installed)
    >
    > How do I do it please Sir ?
    >
    > 1 + 2 + 3 =
    >
    > <baby dev g>

    First of all, your above "ODBC problem" should not be an excuse for NOT
    using the recommended and correct folders when installing software ;-) Even
    if you have developed a software product that needs administrator execution
    level privileges, you should always follow the rules and install into the
    correct folders.

    Okay, so you have developed an ODBC based tool that needs elevation because
    it does not "see" the ODBC drivers. But only Microsoft system tools or
    installers should request administrator execution level privileges. All
    other software products should NEVER EVER require elevation (including your
    "DMC" product).

    The only "limitation" with regard to ODBC is (as far as I know) that you can
    create system data source names (DSNs) from within your application only if
    logged on as an elevated administrator. By design, a "Standard User" cannot
    create system DSNs under Vista.

    I have developed and compiled a small quick-and-dirty ODBC test application
    for you in VC++ to demonstrate ODBC running as "Standard User" under Vista.
    See attached odbc_demo.zip. The application dbodbc.exe is "asInvoker"
    manifested and code-signed. It connects to a dummy ADR.MDB Access Database
    using the Microsoft Access ODBC Driver and it does NOT require administrator
    execution level privileges! It runs "unelevated" (does not give you the
    elevation prompt if you start dbodbc.exe). So my unelevated demo can "see"
    the ODBC driver. And Microsoft gives me access to the ODBC driver through
    my unelevated application. Is this correct, Sir? ;-)

    I hope I have not completely misunderstood your ODBC problem.

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner
    Attached Files Attached Files

  3. #53

    Default Re: C7 - Accessory Directory?

    Hi Jean-Pierre,

    And another test. I start the SetupBuilder IDE ("unelevated") and use the
    "Install ODBC Driver..." function to get a list of all installed ODBC
    drivers.

    I see this (attached screenshot). So my unelevated SetupBuilder can see the
    ODBC drivers.

    What do you think?

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner
    Attached Images Attached Images  

  4. #54

    Default Re: C7 - Accessory Directory?

    Friedrich,

    I follow the rules except that I have to run elevated .....
    I install under program files etc and data under common appdata
    If the user wants to change it is his responsability

    I think that the problem under Vista and 2008 is deeper but will have to
    test again here : if I remember well all microsoft drivers are seen user
    wise bit all others cannot

    It may come from who installs what also but that I cannot control ....

    DMC needs to see (and use) ALL ODBC drivers and to be able to write SYSTEM
    DSN's

    I am sure we will find a way between the two of us ....

    Let me try your way to see again what can be wrong

    Merci

    JP

    --

    Thank you - Merci

    Cordialement - Best Regards
    Jean-Pierre GUTSATZ

    DMC - Data Management Center - A tool to let you Migrate Import Export
    Transfer all your Data very easily
    www.dmc-fr.com
    Certified by Microsoft : "Works with Vista" & "Works with Windows Server
    2008"

  5. #55

    Default Re: C7 - Accessory Directory?

    Hi Jean-Pierre,

    > I follow the rules except that I have to run elevated .....
    > I install under program files etc and data under common appdata
    > If the user wants to change it is his responsability

    Aha, okay. That's great!

    > I think that the problem under Vista and 2008 is deeper but will have to
    > test again here : if I remember well all microsoft drivers are seen user
    > wise bit all others cannot
    >
    > It may come from who installs what also but that I cannot control ....

    Under Vista/2008/Win7, it's always an account with administrator execution
    level privileges (or an Admin account under NT/2000/XP) that installed the
    ODBC drivers.

    > DMC needs to see (and use) ALL ODBC drivers and to be able to write SYSTEM
    > DSN's

    An unelevated application can see and use all ODBC drivers, but can't write
    DSNs. So if you really have to write DSNs, then you only have two options:
    change the existing permissions to "full control" for HKLM\SOFTWARE\ODBC to
    allow Standard Users to write to the registry (DON'T DO THIS <g>) -or- run
    the app elevated. The latter will fail under XP when running as Limited
    User.

    >
    > I am sure we will find a way between the two of us ....
    >



    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  6. #56

    Default Re: C7 - Accessory Directory?

    I also posted a new one to let all be reassured : what I do on MY machine
    has of course nothing to do with how I built the DMC installer who follows
    all Windows rules

    I'd be dumb not to do it and also would never had gotten the Microsoft
    certification ....

    So I have a pb under XP now it seems which could explain other things

    Could I please ask you to download and test under a "normal" XP virtual if
    you have one handy ? (I do not here and only have admin account ones so I
    will need to add accounts to xp virtuals to test all

    www.dmc-fr.com/programme/dmcsetup.exe

    Million thanks again for all this extended help : voted for BEST EVER
    support in the community ! <bg>

    --

    Thank you - Merci

    Cordialement - Best Regards
    Jean-Pierre GUTSATZ

    DMC - Data Management Center - A tool to let you Migrate Import Export
    Transfer all your Data very easily
    www.dmc-fr.com
    Certified by Microsoft : "Works with Vista" & "Works with Windows Server
    2008"

  7. #57

    Default Re: C7 - Accessory Directory?

    Hi Jean-Pierre,

    > I also posted a new one to let all be reassured : what I do on MY machine
    > has of course nothing to do with how I built the DMC installer who follows
    > all Windows rules
    >
    > I'd be dumb not to do it and also would never had gotten the Microsoft
    > certification ....

    Right And the same is true for SetupBuilder. Without Jean-Pierre,
    Vista/2008 certification for SetupBuilder would not have been possible ;-)

    --- BUT, and there is always a "but" in life <g> ---

    You would not receive a "Certified for Vista or 2008" logo for "DMC" because
    it is NOT a valid "Mixed User Application". Such an application has to work
    without any problem under a "Admin" and "Limited/Standard User" account!

    This is what I tried to explain in this (long) thread <g>. Not following
    the rules causes problems. Why? See below:

    > So I have a pb under XP now it seems which could explain other things
    >
    > Could I please ask you to download and test under a "normal" XP virtual if
    > you have one handy ? (I do not here and only have admin account ones so I
    > will need to add accounts to xp virtuals to test all
    >
    > www.dmc-fr.com/programme/dmcsetup.exe

    I installed the above "DMC" install image and created a "Limited User"
    account, named "JP"

    In this Limited User account (its resource protection is similar to running
    an app unelevated under Vista), I started "DMC" and got the following
    message
    two times:

    ---
    No Translation Will Be Done
    File Error() with
    \cfg_import\langues\dmc.btl
    Translation will be disabled

    [OK]
    ---

    After clicking [OK], I received:

    ---
    FM3: Unable to Open UPG file: cause 3 Path Not Found FileError:
    Name:\cfg_import\Upg.Tps\!Upg2

    [Abort] [Ignore]
    ---

    Then "DMC" stopped!

    Okay, just for fun, the same procedure with SetupBuilder, a real "Mixed User
    Application". I installed SetupBuilder, started the IDE under the Limited
    User account and created and compiled a test installation project without
    any problem in 10 seconds!

    I hope this makes clear what I tried to explain in this thread. And why we
    had to invest 18 months of research and development for the SetupBuilder
    Vista compatibility capapility, why we went through all the Vista beta and
    release candidates, and why I tell again and again that we have to follow
    the rules ;-) And why we'll do the same for Windows 7.

    > Million thanks again for all this extended help : voted for BEST EVER
    > support in the community ! <bg>

    Thank you

    Friedrich

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  8. #58

    Default Re: C7 - Accessory Directory?

    Merci

    Which confirms under Vista it works and under XP with user account it does
    not find the directories ....

    Microsoft ubber ales !

    This I am sure explains that ....

    Will revert

    --

    Thank you - Merci

    Cordialement - Best Regards
    Jean-Pierre GUTSATZ

    DMC - Data Management Center - A tool to let you Migrate Import Export
    Transfer all your Data very easily
    www.dmc-fr.com
    Certified by Microsoft : "Works with Vista" & "Works with Windows Server
    2008"

  9. #59

    Default Re: C7 - Accessory Directory?

    Hi Jean-Pierre,

    > Merci

    You are very welcome ;-)

    > Which confirms under Vista it works and under XP with user account it does
    > not find the directories ....
    >
    > Microsoft ubber ales !
    >
    > This I am sure explains that ....

    Yes, it works under Vista because, if you run "DMC" as a Standard User,
    "over-the-shoulder" elevation is your best friend ;-)

    Under XP, your "DMC" application will never be able to run under a Limited
    User account because "over-the-shoulder" elevation is an exclusive Windows
    Vista/2008/Win7 feature.

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  10. #60

    Default Re: C7 - Accessory Directory?

    I wanted to add something important also :
    what I do on MY machine has nothing to do with what I do in the DMC
    installer which complies to all Windows latest standards as all users
    already know

    --

    Thank you - Merci

    Cordialement - Best Regards
    Jean-Pierre GUTSATZ

    DMC - Data Management Center - A tool to let you Migrate Import Export
    Transfer all your Data very easily
    www.dmc-fr.com
    Certified by Microsoft : "Works with Vista" & "Works with Windows Server
    2008"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •