web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Cannot open setup.exe

(0) ShareShare
ReportReport
Posted on by

I ran Dynamics Ax installer and then pressed install Microsoft Dynamics Ax components. This error appeared : "Cannot open 'C:\setup.exe' AutoRun=1" .So How can i solve this issue ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    I moved your question from the answered thread about Visual Studio integration, because it didn't belong there.

    Now tell us what file you tried to run before getting the error and whether your installation files are really in on the C: drive.

  • Verified answer
    Umesh Pandit Profile Picture
    9,315 User Group Leader on at

    To resolve this issue, you can use one of the following options:

    Before you run Setup, use the Default Programs Control Panel to associate the .hta file type with the HTML Application Host program.

    If you are prompted to choose a program with which to open setup.exe, choose HTML Application Host.

    Right-click the file setup.exe and choose Run as administrator.

    Right-click the file setup.exe and choose Properties. Click the Compatibility tab. Under Compatibility mode, select Windows 7.

    technet.microsoft.com/.../ee355063.aspx;MSPPError=-2147217396

    technet.microsoft.com/.../ee355063.aspx

  • Suggested answer
    raelhefn Profile Picture
    Microsoft Employee on at

    you cannot install AX component directly from component directory you must install it through AX installation wizard by selecting component from installation list

    If this error occurred from original installation file

    Try run as administrator

    check any installed antivirus prevent your installation to start

    your windows version is supported by AX

  • Verified answer
    Community Member Profile Picture
    on at

    Please close the wizard and re-run the setup again.

    Also if you are getting the error while opening the setup.exe itself then Umesh solutio is perfect!!

  • Verified answer
    Community Member Profile Picture
    on at

    i too faced it earlier , umesh solution worked for me.

  • Community Member Profile Picture
    on at

    Thanks all for your reply :)

  • Suggested answer
    Community Member Profile Picture
    on at

    None of the answers worked for me I had to copy the media into the client machine.

  • Xin Duan Profile Picture
    517 on at

    Finally solved according to https://superuser.com/questions/1322203/trying-to-run-an-hta-gives-this-app-cant-run-on-your-pc 

    Add file type with ftype command:
    ftype htafile=C:\Windows\SysWOW64\mshta.exe "%1" {1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}%U{1E460BD7-F1C3-4B2E-88BF-4E770A288AF5} %*
    Associate .hta extension with assoc command:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans