# Node-red-windows-installer

**URL:** <https://discourse.nodered.org/t/node-red-windows-installer/77148>\
**Category:** Share Your Projects\
**Tags:** windows-installer\
**Created:** [1 April 2023 21:01 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148 "2023-04-01T21:01:56Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [28 April 2023 12:51 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/41 "2023-04-28T12:51:39Z")

</div>

> [@TotallyInformation](#):
>
> Either turning your app into a service or creating an entry in the Task Scheduler

There are loaders available to cloak non daemon apps to run as a service, but we start adding bloatware in doing so.

IMO - Task Scheduler set to "At System Start Up", is keeping it all native?

We use Task Scheduler with all our Node Instances, and all seem to run like clock work, its also easier for the end-user to understand how it is started, and by what user.

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [28 April 2023 13:14 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/42 "2023-04-28T13:14:30Z")

</div>

> [@TotallyInformation](#):
>
> Windows is a bit more complex because you have two basic methods. Either turning your app into a service or creating an entry in the Task Scheduler. Both have consequences and options.

In fact, there's the (perhaps) less professional and meanwhile (perhaps considered) obsolete option to add a link to the autostart group as well. The combination could look like this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97d466b2b614362049c5624c82ce21407eed3e7c.png)

Feedback?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [28 April 2023 21:31 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/43 "2023-04-28T21:31:18Z")

</div>

> [@marcus-j-davies](#):
>
> IMO - Task Scheduler set to "At System Start Up", is keeping it all native?

> [@ralphwetzel](#):
>
> Feedback?

I don't think any of these are wrong or bad - just options. 😁

If you start at system startup, you need to decide what user id to use of course. You can use SYSTEM but then may not get access to some user resources, especially on a desktop system. And it means that you are effectively running as a privileged service which might not be allowed on some managed systems and can have cyber implications on others.

Sorry for raising these speed-bumps but worth getting things out in the open before committing.

Though more complex, it might be worth considering 2 options. I think that Task Scheduler is OK but perhaps offer one as running at system start with the SYSTEM user and another option to run at logon with the current user?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [28 April 2023 21:43 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/44 "2023-04-28T21:43:44Z")

</div>

Personally, where `SYSTEM` is to be used - Dont 😬

instead, use a dedicated (unprivileged) account, which can be created with little issue.

```auto
net user /add NodeRED Password123

```

The only minor issue, that may be overcome in the same command is to allow `Logon as batch job` for the user NodeRED - windows way of saying, this user is allowed to run whilst not logged on with an interactive shell.

This gives piece of mind (and to the user) the installed Node RED instance cannot do harm on the system by having access to resources, that an admin/system account can.

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [3 May 2023 10:39 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/45 "2023-05-03T10:39:09Z")

</div>

This install of Node-Red on win10 interests me since the abandonment of Node-Red-Desktop

> [@\[ANNOUNCE\] Node-RED Desktop v1.2.0 Released](https://discourse.nodered.org/t/announce-node-red-desktop-v1-2-0-released/34529):
>
> Hi all, I released [Node-RED Desktop](https://sakazuki.github.io/node-red-desktop/) v1.2.0 . This release includes Node-RED 1.2.2. If you have interested in Node-RED Desktop, Please try it. Homepage: [https://sakazuki.github.io/node-red-desktop/](https://sakazuki.github.io/node-red-desktop/) Regards, sakazuki What is Node-RED Desktop Node-RED Desktop is a desktop application of Node-RED for windows/mac. You can easily setup Node-RED on your desktop. with one click installer and auto updater quickly create and discard a flow many times. with standard file menu. easily pu…

@sakazuki if you catch me...

However with this Beta 2 (v0.9.2.0) , I encounter an installation problem:  
 ![python](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fc9edb42d7bcb897706cbe4b3b767fc1be3b85a6.jpeg)  
 ![fail python](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/1/212b652051253a95197f969a528cee42c7dfb5ee.jpeg)  
FYI: Node-Red-Desktop is still installed (but not running)  
Python 2.7, 3.6 and 3.9 are installed  
 ![pyt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/e/8e3319b057391e82d1e870c12860b688c5de2e3a.jpeg)

What else to do?

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [3 May 2023 11:27 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/46 "2023-05-03T11:27:08Z")

</div>

> [@SuperNinja](#):
>
> What else to do?

Thank you for testing this installer! 👍  
Let's try to figure out, what happened:

- Could you please post a shot of the setup page labeled 'Final verification' - or at least a copy of the configuration that is displayed there?
- Did you notice - by chance - that the installer was downloading the python installation file?
- Is the mentioned directory empty, not present - or just this file missing? Be aware that the installer deletes this (temporary) directory when it closes - so you have to check while the error message is present!

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [3 May 2023 13:40 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/47 "2023-05-03T13:40:33Z")

</div>

> [@ralphwetzel](#):
>
> Could you please post a shot of the setup page labeled 'Final verification' - or at least a copy of the configuration that is displayed there?

Where is this `Final verification`?  
In the installation folder I have only:  
 ![nr dir](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/9/d92101f250a7612176a3179fd0d2d8139c6c1e79.jpeg)

> [@ralphwetzel](#):
>
> Did you notice - by chance - that the installer was downloading the python installation file?

Sorry I was doing 2 things at the same time, I only saw the end of the install 🥴

> [@ralphwetzel](#):
>
> Is the mentioned directory empty, not present - or just this file missing? Be aware that the installer deletes this (temporary) directory when it closes - so you have to check while the error message is present!

However, I have a setup log that talks about it:

```auto
2023-05-03 11:59:01.103 Log opened. (Time zone: UTC+02:00)
2023-05-03 11:59:01.103 Setup version: Inno Setup version 6.2.2
2023-05-03 11:59:01.103 Original Setup EXE: C:\Users\Christian\Desktop\Node-Red.Installer.exe
2023-05-03 11:59:01.103 Setup command line: /SL5="$10153C,851310,819712,C:\Users\Christian\Desktop\Node-Red.Installer.exe" /SPAWNWND=$F0A14 /NOTIFYWND=$E0AC6 
2023-05-03 11:59:01.103 Compatibility mode: Yes (DetectorsAppHealth Installer)
2023-05-03 11:59:01.103 Windows version: 10.0.19044 (NT platform: Yes)
2023-05-03 11:59:01.103 64-bit Windows: Yes
2023-05-03 11:59:01.103 Processor architecture: x64
2023-05-03 11:59:01.103 User privileges: Administrative
2023-05-03 11:59:01.118 Administrative install mode: Yes
2023-05-03 11:59:01.118 Install mode root key: HKEY_LOCAL_MACHINE
2023-05-03 11:59:01.118 64-bit install mode: No
2023-05-03 11:59:01.118 Created temporary directory: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp
2023-05-03 11:59:01.118 -- DLL function import --
2023-05-03 11:59:01.118 Function name: ImageList_Add
2023-05-03 11:59:01.118 DLL name: Comctl32.dll
2023-05-03 11:59:01.118 Dest DLL name: Comctl32.dll
2023-05-03 11:59:01.118 Importing the DLL function.
2023-05-03 11:59:01.118 Successfully imported the DLL function. Delay loaded? No
2023-05-03 11:59:01.118 -- DLL function import --
2023-05-03 11:59:01.118 Function name: ImageList_Create
2023-05-03 11:59:01.118 DLL name: Comctl32.dll
2023-05-03 11:59:01.118 Dest DLL name: Comctl32.dll
2023-05-03 11:59:01.118 Importing the DLL function.
2023-05-03 11:59:01.118 Successfully imported the DLL function. Delay loaded? No
2023-05-03 11:59:01.118 -- DLL function import --
2023-05-03 11:59:01.118 Function name: SendMessageW
2023-05-03 11:59:01.118 DLL name: User32.dll
2023-05-03 11:59:01.118 Dest DLL name: User32.dll
2023-05-03 11:59:01.118 Importing the DLL function.
2023-05-03 11:59:01.118 Successfully imported the DLL function. Delay loaded? No
2023-05-03 11:59:01.118 -- DLL function import --
2023-05-03 11:59:01.118 Function name: SetTimer
2023-05-03 11:59:01.118 DLL name: user32.dll
2023-05-03 11:59:01.118 Dest DLL name: user32.dll
2023-05-03 11:59:01.118 Importing the DLL function.
2023-05-03 11:59:01.118 Successfully imported the DLL function. Delay loaded? No
2023-05-03 11:59:01.118 [NR] We are going to install the 64bit version of Node.js.
2023-05-03 11:59:01.118 [NR] Node.js Recommended Version definition: 'xxx' not in validated list of supported versions. Forced to v16!
2023-05-03 11:59:01.165 Extracting temporary file: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\nodejs.bmp
2023-05-03 11:59:01.165 Extracting temporary file: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\node-red.bmp
2023-05-03 12:00:00.670 Downloading temporary file from https://raw.githubusercontent.com/nodejs/node/main/LICENSE: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\node.license
2023-05-03 12:00:00.670 Download is not using basic authentication
2023-05-03 12:00:01.321 0 of 116614 bytes done.
2023-05-03 12:00:01.385 116614 of 116614 bytes done.
2023-05-03 12:00:01.400 Successfully downloaded file to {tmp}: node.license
2023-05-03 12:00:01.400 Downloading temporary file from https://raw.githubusercontent.com/node-red/node-red/master/LICENSE: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\red.license
2023-05-03 12:00:01.400 Download is not using basic authentication
2023-05-03 12:00:01.614 0 of 10247 bytes done.
2023-05-03 12:00:01.629 10247 of 10247 bytes done.
2023-05-03 12:00:01.629 Successfully downloaded file to {tmp}: red.license
2023-05-03 12:00:01.629 Downloading temporary file from https://github.com/microsoft/vswhere/releases/download/3.1.1/vswhere.exe: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\vswhere.exe
2023-05-03 12:00:01.629 Download is not using basic authentication
2023-05-03 12:00:02.445 0 of 469432 bytes done.
2023-05-03 12:00:02.715 469432 of 469432 bytes done.
2023-05-03 12:00:02.715 Successfully downloaded file to {tmp}: vswhere.exe
2023-05-03 12:00:02.731 Downloading temporary file from https://github.com/node-red/node-red/releases/latest: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\red.releases
2023-05-03 12:00:02.731 Download is not using basic authentication
2023-05-03 12:00:03.483 0 bytes done.
2023-05-03 12:00:03.562 Downloading temporary file from https://nodejs.org/dist/latest-v16.x/SHASUMS256.txt: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\node16.sha
2023-05-03 12:00:03.562 Download is not using basic authentication
2023-05-03 12:00:03.889 0 bytes done.
2023-05-03 12:00:03.889 Downloading temporary file from https://nodejs.org/dist/latest-v18.x/SHASUMS256.txt: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\node18.sha
2023-05-03 12:00:03.889 Download is not using basic authentication
2023-05-03 12:00:04.067 0 bytes done.
2023-05-03 12:00:04.067 Downloading temporary file from https://nodejs.org/dist/latest-v20.x/SHASUMS256.txt: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\node20.sha
2023-05-03 12:00:04.067 Download is not using basic authentication
2023-05-03 12:00:04.314 0 bytes done.
2023-05-03 12:00:04.379 [NR] 16
2023-05-03 12:00:04.379 [NR] 16.20.0
2023-05-03 12:00:04.379 [NR] 18
2023-05-03 12:00:04.379 [NR] 18.16.0
2023-05-03 12:00:04.379 [NR] 20
2023-05-03 12:00:04.394 [NR] 20.0.0
2023-05-03 12:00:05.962 [NR] latest: 3.0.2
2023-05-03 12:00:05.962 [NR] next: 3.1.0-beta.2
2023-05-03 12:00:05.962 [NR] v1-maintenance: 1.3.7
2023-05-03 12:00:05.962 [NR] v2-maintenance: 2.2.3
2023-05-03 12:00:05.962 [NR] npm dist-tag: 4
2023-05-03 12:00:05.962 [NR] 3.0.2 | latest
2023-05-03 12:00:05.962 [NR] cv: 3.0.2 / 3
2023-05-03 12:00:05.962 [NR] 3.0.2
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 1
2023-05-03 12:00:05.962 [NR] cv: 3.0.2 / 3 = 1
2023-05-03 12:00:05.962 [NR] 3.1.0-beta.2 | next
2023-05-03 12:00:05.962 [NR] cv: 3.1.0-beta.2 / 3
2023-05-03 12:00:05.962 [NR] 3.1.0-beta.2
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 4
2023-05-03 12:00:05.962 [NR] 1
2023-05-03 12:00:05.962 [NR] cv: 3.1.0-beta.2 / 3 = 1
2023-05-03 12:00:05.962 [NR] 3.1.0-beta.2 ? 3.0.2
2023-05-03 12:00:05.962 [NR] 3.1.0-beta.2
2023-05-03 12:00:05.962 [NR] 3.0.2
2023-05-03 12:00:05.962 [NR] 4
2023-05-03 12:00:05.962 [NR] 1
2023-05-03 12:00:05.962 [NR] 1.3.7 | v1-maintenance
2023-05-03 12:00:05.962 [NR] cv: 1.3.7 / 3
2023-05-03 12:00:05.962 [NR] 1.3.7
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] -1
2023-05-03 12:00:05.962 [NR] cv: 1.3.7 / 3 = -1
2023-05-03 12:00:05.962 [NR] 2.2.3 | v2-maintenance
2023-05-03 12:00:05.962 [NR] cv: 2.2.3 / 3
2023-05-03 12:00:05.962 [NR] 2.2.3
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] -1
2023-05-03 12:00:05.962 [NR] cv: 2.2.3 / 3 = -1
2023-05-03 12:00:05.962 [NR] red_versions: 2
2023-05-03 12:00:05.962 [NR] 3.0.1
2023-05-03 12:00:05.962 [NR] 3.0.1
2023-05-03 12:00:05.962 [NR] cv: 3.0.1 / 3
2023-05-03 12:00:05.962 [NR] 3.0.1
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] 1
2023-05-03 12:00:05.962 [NR] cv: 3.0.1 / 3 = 1
2023-05-03 12:00:05.962 [NR] 3.0.1 ? 3.0.2
2023-05-03 12:00:05.962 [NR] 3.0.1
2023-05-03 12:00:05.962 [NR] 3.0.2
2023-05-03 12:00:05.962 [NR] 3
2023-05-03 12:00:05.962 [NR] -1
2023-05-03 12:00:05.962 [NR] ? 3.1.0-beta.2
2023-05-03 12:00:05.962 [NR] 3.0.1 / 
2023-05-03 12:00:05.962 [NR] 3.0.2 / latest
2023-05-03 12:00:05.962 [NR] 3.1.0-beta.2 / next
2023-05-03 12:00:06.919 [NR] C:\Users\Christian\AppData\Roaming\npm
2023-05-03 12:00:07.983 [NR] C:\Users\Christian\AppData\Roaming\npm
2023-05-03 12:00:07.983 [NR] `-- (empty)
2023-05-03 12:00:07.983 [NR] 
2023-05-03 12:00:07.983 [NR] PrepareNodeVersionSelectionPage
2023-05-03 12:00:07.983 [NR] PrepareNodeVersionSelectionPage1
2023-05-03 12:00:07.983 [NR] PrepareNodeVersionSelectionPage2
2023-05-03 12:00:07.983 [NR] 18.16.0
2023-05-03 12:00:07.983 [NR] 16
2023-05-03 12:00:07.983 [NR] 3
2023-05-03 12:00:07.983 [NR] 1
2023-05-03 12:00:07.983 [NR] 16.20.0
2023-05-03 12:00:07.983 [NR] 18.16.0
2023-05-03 12:00:07.983 [NR] 16.20.0
2023-05-03 12:00:07.983 [NR] 3
2023-05-03 12:00:07.983 [NR] 1
2023-05-03 12:00:07.983 [NR] 18.16.0
2023-05-03 12:00:07.983 [NR] 18.16.0
2023-05-03 12:00:07.983 [NR] 18.16.0
2023-05-03 12:00:07.983 [NR] 3
2023-05-03 12:00:07.983 [NR] 0
2023-05-03 12:00:07.983 [NR] 20.0.0
2023-05-03 12:00:07.983 [NR] 18.16.0
2023-05-03 12:00:07.983 [NR] 20.0.0
2023-05-03 12:00:07.983 [NR] 3
2023-05-03 12:00:07.983 [NR] -1
2023-05-03 12:00:07.983 Extracting temporary file: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\node-red-small.bmp
2023-05-03 12:00:07.999 [NR] 
2023-05-03 12:00:07.999 [NR] 3.1.0-beta.2
2023-05-03 12:00:07.999 [NR] 4
2023-05-03 12:00:07.999 [NR] -1
2023-05-03 12:00:07.999 [NR] 
2023-05-03 12:00:07.999 [NR] 3.0.2
2023-05-03 12:00:07.999 [NR] 3
2023-05-03 12:00:07.999 [NR] -1
2023-05-03 12:00:07.999 [NR] GetRED: 0
2023-05-03 12:00:07.999 [NR] 
2023-05-03 12:00:07.999 [NR] 3.0.1
2023-05-03 12:00:07.999 [NR] 3
2023-05-03 12:00:07.999 [NR] -1
2023-05-03 12:00:07.999 [NR] GetRED: 0
2023-05-03 12:00:08.978 [NR] undefined
2023-05-03 12:00:09.025 [NR] Python 3.9.1
2023-05-03 12:00:09.025 [NR] 3.9.1
2023-05-03 12:00:09.025 [NR] 3.10
2023-05-03 12:00:09.025 [NR] 3
2023-05-03 12:00:09.025 [NR] -1
2023-05-03 12:00:09.134 [NR] Result:= true
2023-05-03 12:00:41.481 [NR] GetRED: 0
2023-05-03 12:00:41.481 [NR] GetRED: 0
2023-05-03 12:00:52.789 [NR] GetRED: 0
2023-05-03 12:00:52.789 [NR] GetRED: 0
2023-05-03 12:00:53.630 [NR] GetRED: 0
2023-05-03 12:00:53.630 [NR] GetRED: 0
2023-05-03 12:00:53.718 [NR] GetRED: 0
2023-05-03 12:01:02.869 [NR] GetRED: 0
2023-05-03 12:01:02.869 [NR] GetRED: 0
2023-05-03 12:01:02.926 [NR] GetRED: 0
2023-05-03 12:01:08.999 [NR] GetRED: 0
2023-05-03 12:01:08.999 [NR] GetRED: 0
2023-05-03 12:01:09.062 [NR] GetRED: 0
2023-05-03 12:01:15.549 Found 0 files to register with RestartManager.
2023-05-03 12:01:15.564 Starting the installation process.
2023-05-03 12:01:15.564 Creating directory: C:\Program Files (x86)\Node-RED
2023-05-03 12:01:15.564 Directory for uninstall files: C:\Program Files (x86)\Node-RED
2023-05-03 12:01:15.564 Creating new uninstall log: C:\Program Files (x86)\Node-RED\unins000.dat
2023-05-03 12:01:15.564 -- File entry --
2023-05-03 12:01:15.564 Dest filename: C:\Program Files (x86)\Node-RED\unins000.exe
2023-05-03 12:01:15.581 Time stamp of our file: 2023-05-03 11:59:00.963
2023-05-03 12:01:15.581 Installing the file.
2023-05-03 12:01:15.581 Successfully installed the file.
2023-05-03 12:01:15.581 -- File entry --
2023-05-03 12:01:15.581 Dest filename: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\setup_loop.bat
2023-05-03 12:01:15.581 Time stamp of our file: 2023-04-28 12:10:32.000
2023-05-03 12:01:15.581 Installing the file.
2023-05-03 12:01:15.581 Successfully installed the file.
2023-05-03 12:01:15.581 -- File entry --
2023-05-03 12:01:15.581 Dest filename: C:\Program Files (x86)\Node-RED\red.ico
2023-05-03 12:01:15.581 Time stamp of our file: 2023-04-28 12:10:34.000
2023-05-03 12:01:15.581 Installing the file.
2023-05-03 12:01:15.581 Successfully installed the file.
2023-05-03 12:01:15.581 Saving uninstall information.
2023-05-03 12:01:15.581 Creating new uninstall key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{70D435D8-542E-4087-8E1C-D313404C7E9D}_is1
2023-05-03 12:01:15.581 Writing uninstall key values.
2023-05-03 12:01:15.581 Detected previous non administrative install? No
2023-05-03 12:01:15.581 Detected previous administrative 64-bit install? No
2023-05-03 12:01:15.581 Installation process succeeded.
2023-05-03 12:01:15.596 -- Run entry --
2023-05-03 12:01:15.596 Run as: Current user
2023-05-03 12:01:15.596 Type: Exec
2023-05-03 12:01:15.596 Filename: C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\python_installer.exe
2023-05-03 12:01:15.596 Parameters: /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 Include_launcher=0
2023-05-03 12:01:15.596 Exception message:
2023-05-03 12:01:15.596 Message box (OK):
                          Unable to execute file:
                          C:\Users\CHRIST~1\AppData\Local\Temp\is-93AE8.tmp\python_installer.exe
                          
                          CreateProcess failed; code 2.
                          Le fichier spécifié est introuvable.
2023-05-03 12:31:33.569 User chose OK.
2023-05-03 12:31:33.616 [NR] Python 3.9.1
2023-05-03 12:31:33.616 [NR] 3.9.1
2023-05-03 12:31:33.616 [NR] 3.10
2023-05-03 12:31:33.616 [NR] 3
2023-05-03 12:31:33.616 [NR] -1
2023-05-03 12:31:33.631 Need to restart Windows? No
2023-05-03 12:32:04.257 Deinitializing Setup.
2023-05-03 12:32:04.278 Log closed.

```

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [3 May 2023 16:10 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/48 "2023-05-03T16:10:29Z")

</div>

@SuperNinja  
Looks like you fell over a bug in the installer: There was a guard missing that had to ensure that Python is only installed when you as well triggered a change of Node.js.  
A new beta.3 has just been released that should address this. Would be great if you could test it & report back!  
Thank you for your support improving the installer!

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [3 May 2023 19:51 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/49 "2023-05-03T19:51:04Z")

</div>

It may be in here somewhere but I cannot find it, how much of the installation can be installed in a selected location (Not default)?

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [3 May 2023 20:30 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/50 "2023-05-03T20:30:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f1749cc48d5edc7fe302d584cf080292cfab8b93.png)

In the current `beta.3`, a selected location / custom path may be defined for new installation setups, under `Configuration` / `Installation path`. Just double click on the label to change the default setting.

EDIT & **Heads-Up** : Please take the `beta.4` for your tests. Just fixed a bug that created a failure when trying to install into `C:\Program Files`.

---

<div class="post-metadata">

**Author:** ![Buckskin](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Post date:** [3 May 2023 23:20 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/51 "2023-05-03T23:20:08Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [9 May 2023 09:44 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/52 "2023-05-09T09:44:36Z")

</div>

it's ok for me with Beta 4 👍

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [13 May 2023 20:54 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/53 "2023-05-13T20:54:22Z")

</div>

**Status update!**

We moved the installer under the umbrella of the the Node-RED orga. 🎉  
Its latest version - currently still beta - can be found [here](https://github.com/node-red/windows-installer/releases/latest).

---

<div class="post-metadata">

**Author:** ![DaveO](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@DaveO](https://discourse.nodered.org/u/DaveO)\
**Post date:** [15 May 2023 21:41 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/54 "2023-05-15T21:41:04Z")

</div>

I have tried Beta 4 and Beta 6 Windows installer but the result is the same. When I try to start the new instance using the desktop shortcut, I see the NR window open for a second then close.

When running the installer, it finds my global installation of NR that uses port 1880. I then click the + sign to add a new local version. I have tried leaving the port setting as Default and have also defined specific ports such as 1882 and 1885, both ports are available.

I think the new install is using the settings of the global install on port 1880. When I run, node.exe red.js, in the new instance folder(C:\Program Files (x86)\Node-RED\node\_modules\node-red), I can see it is using the global instance path and port 1880 which is already running as a service, so the new instance stops.

Thanks.

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [16 May 2023 08:03 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/55 "2023-05-16T08:03:18Z")

</div>

Hi @DaveO !  
Welcome to this forum & thank you for testing the Windows installer.

I can confirm the issue.  
Rather than to the ports it looks like being related to the `--userDir` (and given privileges) the installer assigns for `Custom Path` installations; it yet seems to only affect installations into the `Program Files` folder.  
I'll make up my mind how to fix this...

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 May 2023 08:34 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/56 "2023-05-16T08:34:26Z")

</div>

> [@ralphwetzel](#):
>
> it yet seems to only affect installations into the `Program Files` folder.

Program Files is a privileged folder structure that requires local admin rights to update.

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [16 May 2023 08:37 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/57 "2023-05-16T08:37:33Z")

</div>

I know.  
Data managed has to be placed into `AppData`.  
Do you have a clever idea how organize this reliably in case of more-than-one - installations?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 May 2023 13:58 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/58 "2023-05-16T13:58:24Z")

</div>

> [@ralphwetzel](#):
>
> Do you have a clever idea how organize this reliably in case of more-than-one - installations?

Well, probably best to follow a similar line to my alternate installer?

That installs node-red itself into a "master" folder and makes the userDir a sub-folder called "data". Some variation on that should work. Or you could go for a top-level "node-red" folder and put the instances beneath that. or some combination of those.

---

<div class="post-metadata">

**Author:** ![DaveO](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@DaveO](https://discourse.nodered.org/u/DaveO)\
**Post date:** [16 May 2023 17:17 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/59 "2023-05-16T17:17:38Z")

</div>

Hi @ralphwetzel thanks for the quick reply. I changed the install path to C:\Node-RED and it works perfectly now. Thanks for the great work you are doing!  
Dave

---

<div class="post-metadata">

**Author:** ![DaveO](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@DaveO](https://discourse.nodered.org/u/DaveO)\
**Post date:** [16 May 2023 18:08 UTC](https://discourse.nodered.org/t/node-red-windows-installer/77148/60 "2023-05-16T18:08:14Z")

</div>

One additional note regarding the install to C:\Node-RED folder. To install nodes from the Palette Manager, I had to run the Node-RED shortcut as Administrator.

[Previous page](https://discourse.nodered.org/t/node-red-windows-installer/77148.md?page=2)

[Next page](https://discourse.nodered.org/t/node-red-windows-installer/77148.md?page=4)
