Problem on installing exe in Vista

This is a discussion on Problem on installing exe in Vista within the Windows Programming forums, part of the Platform Specific Boards category; Hi ! I am facing a little problem while installing my exe in Vista ! I want to give some ...

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    104

    Problem on installing exe in Vista

    Hi !

    I am facing a little problem while installing my exe in Vista !

    I want to give some file write permission but Vista doesn't allow this....

    To achieve this I used "cacls" command to give explicitly permissios to some file.......

    For this I create a batch file and build it with installer ...

    This command run successfully when run it independently on Vista i.e from command prompt..

    I used command prompt as Administrator by using command "run cmd as administrator".......

    It only work like this........

    but doesn't run on same Vista when I installed it....

    Can Any body help me.........

    Feel free to ask any Query........

    Thanks
    Last edited by Bargi; 08-18-2007 at 08:55 AM. Reason: Additional Information on running command from DOS

  2. #2
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    feel free to ask any Query? lol ok, talk more natural please. :-)

    vista doesn't allow giving files write permission? yes it does... how else am i saving files at all? unless i'm misunderstanding you? do you have an error of any kind to go with your issue so it's easier to understand?

    also:
    Availability

    The cacls.exe command is an external command and is available in the below Microsoft Operating Systems.

    Windows NT
    Windows 2000
    Windows XP

    you sure it's actually working?

    what are you trying to do anyway?
    Last edited by simpleid; 08-18-2007 at 12:46 PM.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    104

    More explanation

    Hi !

    Thanks for replying me..........

    You have asked that CACLS.exe is working with Vista.......?? Yes it is............

    It works fine when I run it as Adminstrator but not with my installer...........

    I think that Vista install my exe as normal user and not as administrator..........

    What did you think about it.........??

    How can I solve this issue ????

    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 02:04 AM
  2. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 06:20 AM
  3. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 04:36 PM
  4. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 09:37 AM
  5. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 06:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21