2 Replies - 1934 Views - Last Post: 16 August 2013 - 08:33 AM Rate Topic: -----

#1 Rodrick  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 15-August 13

CreateProcessWithLogonW on Windows 7

Posted 15 August 2013 - 01:56 PM

Hey!

I have an installer to migrate which used to work on Win XP to Windows 7. The installer is run by the current user but since the process of installation requires elevated privileges. Therefore, it would launch another process using CreateProcessWithLogonW which it used to work well under Win XP while it fails on Win 7. Has there been any changes to the API since winxp?

Thanks in advanced.

Regards,
Rodrick

Is This A Good Question/Topic? 0
  • +

Replies To: CreateProcessWithLogonW on Windows 7

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9084
  • View blog
  • Posts: 34,130
  • Joined: 12-June 08

Re: CreateProcessWithLogonW on Windows 7

Posted 15 August 2013 - 02:00 PM

The UAC is probably in the way.

Here - read up on this. Why Canít I Elevate My Application to Run As Administrator While Using CreateProcessWithLogonW?
Was This Post Helpful? 1
  • +
  • -

#3 Rodrick  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 15-August 13

Re: CreateProcessWithLogonW on Windows 7

Posted 16 August 2013 - 08:33 AM

Thanks a lot Modi! This was of great help.

Do you know where can I find an example of how to code the bootstrapper?

Thanks again!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1