How continue an install after reboot with the same privileges.

I want to install an application with a custom exe file. i ll install the application with a non-administrator user.
I need to restart the pc during the installation so i separate the exe in 2 file.
I can launch the first with the administration privileges and it will start the installation and when i need to restart the pc the first exe will add a reg key for launch the second exe after the restart.
The second exe file start good after restart but the problem is that he havent the admin permission so the installation will fail.
How can i grant the admin permission to the second process?I cant use runas becouse i need a no-interact with the application?.
Help me thanks!

http://windows.microsoft.com/en-au/windows/schedule-task#1TC=windows-7
In this step, add your bat file : 
To schedule a program to start automatically, click Start
a program, and then click Next.
lick Browse to
find the program you want to start, and then click Next.
Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread.

Similar Messages

  • How do I install a toolbar with the Croatian language

    How do I install a toolbar with the Croatian language.
    Thank you!

    Do you see the menu bar or anything else? As for the missing toolbar, this is the case for 90% of Firefox users, for instance the Google Toolbar. To restore it, you need to install Mozilla's Add-On Compatibility Reporter extension from https://addons.mozilla.org/en-US/firefox/addon/15003 and restart Firefox twice.
    As for the white screen, I am not sure what you mean, but your install looks corrupted, you probably need to uninstall Firefox and reinstall from scratch. You may spend too much time and effort otherwise. Back up your settings first if you have any, like Firefox bookmarks.

  • Firefox will not open after installation. i have tried to install several times with the same results. installation sends a list to firefox each time. need help. willard lee

    will not open after installation. i have tried to install several times with the same results. installation sends a list to firefox each time. need help. willard lee

    Can you attach a screenshot or link to the instructions you are following?
    You are on the 3.6 release and Firefox 7.0.1 is out. You can download and install the latest release from http://www.mozilla.org/en-US/firefox/new/ if you would like to update now. The 3.6 version will be maintained for a while longer, but you should update when you can.

  • I installed Adobe FlashPlayer version 13.0 however I am getting an error message "Plug in error". Can anybody provide an answer. I already uninstall the version and install it again with the same results. Thanks.

    I installed Adobe FlashPlayer version 13.0 however I am getting an error message "Plug in error". Can anybody provide an answer. I already uninstall the version and install it again with the same results. Thanks.

    Adobe admits to a Flash problem here:
    http://forums.adobe.com/message/6285851#6285851
    YOu can apply the fix they show and tehn wait for them to fix the problem

  • Airport Ver 7.4.1 will not update firmware.  Goes throught the process, reboots with the same firmware version.  Power cycled the airport, did not help

    Airport Ver 7.4.1 will not update firmware.  Goes throught the process, reboots with the same firmware version.  Power cycled the airport, did not help.

    Please see the answer to your other post.

  • Will iTunes 10 & iTunes 11 work together? If not, how do I combine 2 libraries with the same account?

    My 2005 iMac (which can't be updated to Snow Leopard or Mountain Lion and so is stuck with iTunes 10) has thousands of my songs, over 80GB of music mostly from CDs and other uploads/downloads.  In 2008 we got an iMac for the family room; somehow although we have the same iTunes account for that computer, we started fresh with no tracks, and built up its own library for family use.  Now we've bought two iPhones which aren't recognized by the '08 iTunes/Mac OS, so I want to upgrade the '08 iMac (the only one I can) and I have the Snow Leopard software to do so.
    But I'm concerned that once the two computers have different versions of iTunes, I will lose the ability to home-share the music library from the '05 iMac on the '08 iMac, and because of that I won't be able to store any of my older Mac's tracks on the iCloud or access them on my iPhone.  (Of course I don't want to have to pay for 80GB+ on the cloud!)
    Has anyone got two versions of iTunes on two computers with the same account and are you able to home-share together and access tracks on your iPhones from an older version?
    What do Apple users recommend?  I'm thinking my best bet might be to combine the two libraries, which as I said are on the same account, but I don't know how to go about doing this.  How much time would it take with 80GB?  (I could probably do without 15% or 20% of those tracks, but it's still a lot, I don't know if it's instantaneous or if it uploads each track one at a time, I can imagine that taking two days.)
    The older Mac's tracks, the 80GB, are the ones I really want, it took years to collect and upload all that, finding photos for some of the more esoteric albums/songs, etc.  The newer Mac only has 2.5GB in its iTunes and I guess it wouldn't be the worst thing if I had to reload those, if the 80GB library had to wipe out the 2.5GB one.
    Thanks so much to anyone who can help me!  If I can start this tonight and have it run overnight (if necessary) that'd be great, otherwise I'm hoping I can get this done Sunday.  By the way, technologically, I have the '05 iMac hooked up to a 1st Gen Time Capsule and the '08 iMac getting WiFi from that.

    Thank you for replying.  Both of the accounts are Admin accounts.  The Libraries are kept in the user/music/itunes/itunes media folder on each account.  However, I do use multiple iTunes Libraries on my Account1.  One of the Libraries I use in Account1 is on a separate internal HD.  However, the other Libraries I use in Account1 are stored in user/music/itunes/itunes media folder on the main HD (which hosts both Account1 and Account2).  It doesn't seem to matter whether I am using an iTunes Library on an external drive or the main drive in Account1, I still get the same problem: only account1 library will load.  AppleTV sees that the Account2 Library is there, but it won't load it.

  • How can i distinguish two controls with the same name?

    I'm recording automated tests with VS 2012 Coded Ui Test for testing a web application.
    In that web application it is possible to enter data in something looking like a list.
    There is - per example - an Edit control sitting on a ColumnHeader with the name/text "Description".
    Below that header is another Edit control for data input - containing the text "Description" too and which lies on a Cell control.
    When i playback my recording, Coded UI Test looks for a control with the name "Description" and gets the one, it finds at first.
    In that case the Edit on the ColumnHeader, which causes an exception, when the Text will be setted with the data input from the recording.
    Unfortunately the controls have no ID.
    Is there a way to distinguish controls with the same name?
    Thanks in advance!

    Hi Patrick Pirzer,
    >>Is there a way to distinguish controls with the same name?
    Based on the blog "How does “Coded UI test” finds a control ??", we know that to really find a control, it would be related to the unique properties as the search properties,
    so if two controls have the same property, please use other unique property as the search property would be better.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Newbie :  How can i create 2 users with the same name on diff domain name ?

    I have two domains on my server
    exemple1.com
    exemple2.com
    and i want to create one user for each domain with the same name
    [email protected] and [email protected]
    curently i can create one user, and it's the same user for both domains :-/
    how ?
    thanks
    Hète

    I must say. I am equally curious about this. i've played a lot in Communigate and it is easy to do there but how does one do this in apple mail?

  • How can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

  • How do I move several songs with the SAME NAME?? to a windows folder??

    Now for my next question ( i'll also post this as a new question)
    I have 15 versions of the surf song "Apache" but when I try to move the songs via drag and drop in itunes to a windows folder, after the first version, it asks " you already have a file names "apache" would you like to overwrite it?"
    which I don't.
    Even when I rename the file to "apache two" it still says I already have "apache" in that folder. They are all different versions by different groups.
    How can I move them all to the same windows folder??.
    thanks
    Alan

    Most iTunes users don't look directly at the songs in the windows folders, but if you intend to, you better give the files unique names: "Shadows - Apache," "Ventures - Apache," and so on. When you first change the name, you will have to reasssociate the file in iTunes, but then you will get no conflict when you drag them into a folder.

  • How to differentiate between Radio Buttons with the same name?

    My form has two fields, to which I gave the same name ("Radio Button 1.0") in order to achieve mutual exclusivity.
    Now, I would like to use JavaScript to retrieve the value of one the two fields:
    var checkMark = this.getField("Radio Button1.0");
    if (checkMark.value == "Yes") {
    Questions:
    What is the proper way to inspect the value of a Radio Button? I have tried this:
    if (checkMark.value == "No") [...]
    but it doesn't seem to work.
    How can I tell apart 2 radio buttons with the same name?
    TIA,
    -RFH

    When Radio Buttons and Check Boxes are unchecked their value is "Off", so if you have "Yes", "No" buttons you will also encounter an 'Off" value. Now if you want to look at a given button, you will have to use the "isBoxChecked(nWidget)" method.
    nWidget:
    The 0-based index of an individual radiobutton or checkbox widget for this field. The index is determined by the order in which the individual widgets of this field were created (and is unaffected by tab-order).
    Every entry in the Fields panel has a suffix giving this index, for example MyField #0.
    Returns
    true if the specified widget is currently checked, false otherwise.
    Example
    var f = this.getField("ChkBox");
    if(f.isBoxChecked(0))
    app.alert("The Box is Checked");
    else
    app.alert("The Box is not Checked");

  • How to open a new tab with the same current directory in a terminal?

    I use the following script to open a new terminal with the same pwd.
    I'm wondering how to modify it to open a new tab with the same pwd.
    #!/bin/sh
    # Open a new terminal in the cwd
    CWD=`pwd`
    osascript<<END
    set thePath to "$CWD"
    set myPath to (POSIX file thePath as alias)
    try
    tell application "Terminal"
    activate
    do script with command "cd \"" & thePath & "\""
    end tell
    end try
    END

    bit of a hack, but the make command doesn't seem to work for tabs in terminal. replace what's currently in the 'try' block with this code:
    tell application "Terminal" to activate
    tell application "System Events"
    tell process "Terminal"
    keystroke "t" using command down
    end tell
    end tell
    tell application "Terminal"
    do script "cd " & (quoted form of thePath) in last tab of window 1
    end tell

  • How to fill an 8x10 page with the same image for making buttons?

    How do you make a button template using the grid?  How do you import the image onto that, and how do you fill an entire page with the same image ie-  1" circles

    I'm trying to do the same thing but I want 1" squares.  I just upgraded from Elements 6 and I did this
    quite often for pendant necklaces.  I used to go and print individual prints, but the previous options are not there.  ;(
    And the picture package is only showing 20 (2x2) as being the smallest size.  I don't see a custom button.
    Can anyone tell me how to do this?  We're doing these for a fundraiser and I can't even print anymore.
    Thanks,
    Kimberly

  • How to create a US account with the same apple ID as my current account

    I received a US itunes card given as a gift and it will not redeem in the itunes store since it says I need to have a US itunes account which I do not. Mine is from another country.
    I emailed support and they said I could not use the itunes card nor can I transfer the credit to my itunes account for my country(even if it is still in US$). Though they did say that It was possible to create a US account with the same apple ID. I tried it but when I try to register a US account, in the end it says that the apple ID is taken.
    Can anyone help?
    Thanks.

    You can't use the same ID because it is possible to change countries on accounts.  The other person using your ID is you!  However, technically you can only use the store in a country if you are actually present in the country, and you have to have a credit card billed to an address in the country as proof.
    I guess the person at Apple isn't familiar with hte details of thir own legal documents, and you would either have to try to change country on your account (which may run into issues) or start a second account in hte other country (which again may not be easy, nor legal).
    The iTunes Store in a country is intended only for use by that country's residents, and only while they are in the country. To use the iTunes Store in a country you need a credit card (or other card type if acceptable in a country) issued in that country, billed to an address in that country, and also be physically present in that country when using the store.  You are also restricted to waiting 90 days between country changes.
    E.g., "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE
    Find somebody you know in the USA and give them a nice present.

  • HOW do you display multiple componants with the same id e.g. same generated image

    Hi,
    I would like to display two of these with the same id (canvas) which is an image generated through AS
        <canvas:DrawingCanvas id="canvas" >
            </canvas:DrawingCanvas>
    This is an annotation program im working on, and i would 2 of the same view of image, the reason being that the user can view a large and small scale version of the image he/she is working with
    I--------------------I    i----i   - small version
    I                        I    i----i
    I large version   I
    I                        I
    I____________I
    thanks
    art

    You don't need the object to have the same id to achieve your desired results, and you can't have the same object with the same id anyway.
    Just ensure whatever the user does is carried out on the larger and smaller image.
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

Maybe you are looking for