Old 26th May 2020, 13:28   #1
BrightRhino
Junior Member
 
Join Date: May 2020
Posts: 1
Windows on ARM64 installer

Hi,

I just got a Lenovo Yoga C630 Windows on Arm laptop with the Qualcom snapdragon 850 processor, I saw that NSIS has support for ARCH64 but it is untested, can I help testing it? What can I do that would be helpful? I have built a couple of open source apps with arm64 support, like notepad2 and notepad++, which I could use to test installation. I haven't ever built an installer with nsis before, but I am willing to try.

Thanks,

Alex
BrightRhino is offline   Reply With Quote
Old 26th May 2020, 14:30   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,314
Saying we support ARM is a bit over the top. We have ARM platform detection for x86 installers running on ARM hardware (in the x64.nsh header).

What we don't have is support for is generating and running native ARM installers. I was able to compile most of the files for ARM previously but never tested the generated installers. I can't remember if I save any of these files but I'll check.

Do you have Visual Studio 2019 installed anywhere? (Does not have to be on the ARM machine)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 26th May 2020, 18:54   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,314
Try this and see what happens, it will probably crash though.
Attached Files
File Type: zip example1.zip (26.9 KB, 86 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 11th October 2020, 04:43   #4
ljhholer
Junior Member
 
Join Date: Oct 2020
Posts: 2
The example1.zip cannot be run.

Quote:
Originally Posted by Anders View Post
Try this and see what happens, it will probably crash though.
I have a Galaxy Book 2 that uses the Snapragon 850 CPU and the OS is Win10 ARM 2004. "This app doesn't work on your PC," says the runtime above. "To find a version for your computer, consult the software publisher. "
ljhholer is offline   Reply With Quote
Old 13th October 2020, 07:54   #5
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 548
Send a message via ICQ to T.Slappy
From my point of view the Windows on ARM is that Windows emulates win32 applications (later also win64) which now works on ARM processors so there is no need to rewrite the applications.

Is that correct? The idea of Microsoft is to have a lot of wi apps runnning on Arm platform because there is only a few native Arm apps available to this day.

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2019: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 13th October 2020, 08:34   #6
ljhholer
Junior Member
 
Join Date: Oct 2020
Posts: 2
Quote:
Originally Posted by T.Slappy View Post
From my point of view the Windows on ARM is that Windows emulates win32 applications (later also win64) which now works on ARM processors so there is no need to rewrite the applications.

Is that correct? The idea of Microsoft is to have a lot of wi apps runnning on Arm platform because there is only a few native Arm apps available to this day.
The easy way is this. Microsoft offers x86 real-time conversion to ARM emulators, but this does not apply to all software, such as hardware drivers. This conversion can result in a significant performance loss, and the best way to do this is to recompile a native ARM version.
Currently, many appx in the Microsoft Store offer ARM programs, and some Win32 desktop programs also offer ARM versions, such as 7z, Visual Studio Code, Rufus.

https://sourceforge.net/p/sevenzip/d...ad/7d5b1e5b51/
https://code.visualstudio.com/?#alt-downloads
http://rufus.ie/downloads/
ljhholer is offline   Reply With Quote
Old 13th October 2020, 09:05   #7
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,314
Quote:
Originally Posted by ljhholer View Post
I have a Galaxy Book 2 that uses the Snapragon 850 CPU and the OS is Win10 ARM 2004. "This app doesn't work on your PC," says the runtime above. "To find a version for your computer, consult the software publisher. "
If it never actually starts executing then there is something in the PE header Windows does not like or the fact that we remove the relocations.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump