Thread: Problem on installing exe in Vista

  1. #1
    Registered User
    Join Date
    Jan 2007

    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........

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

  2. #2
    Registered User
    Join Date
    Jul 2006
    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?


    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 11:46 AM.

  3. #3
    Registered User
    Join Date
    Jan 2007

    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 ????


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