WindowsPE - How to run electron app, missing dll - windows

Hello Computer enthusiasts,
i try to run my electron app on windows pe.
When i try to start the app trough the "startnet.cmd" nothing happens.
If i want to start it over "procex64.exe" (Windows Process Explorer, from Sysinternals) i get the error that some ddl's are missing
msdmo.dll
dxgi.dll
d3d9.dll (DirectX ?)
dxva2.dll
Anyone know what this is, how i can fix that problem ?
Thanks for any advice.

Found a solution:
copy they files from a full windows installation to your windows pe image,
c:\windows\system32:
BCP47Langs.dll
d3d9.dll
d3d11.dll
dxgi.dll
dxva2.dll
msdmo.dll
(Tested/Found on Windows 10 Pro)
Is just a simple electron app with a single page and a few buttons. Perhaps there are other *.dll's if you work with media files or similar.

Related

Windows app camera not working when installed through windows store

This seems to be a permissions issue. I have an app that when installed through the windows store onto a windows tablet, the camera doesn't work in the app. Its a white blank screen. When I install the app in developer mode with a powershell script, the camera works just fine. Does anyone have an idea of what can be causing this?
The Windows Store installation installs with a lot more options than when you installed via PowerShell. I would say that it's one of these options that's causing the unexpected camera behavior, or that it's just a different (misconfigured) version of the app that the developer put on the Windows Store. In any case this issue would be app-specific, so I would encourage you to file a bug report/complaint with the developer of the app telling him about the issue and giving a full description. (Logs of the app would usually help in this case.)

Notifications not working on Windows 10 - Electron JS

I was learning Electron and made a basic electron app and packaged it for windows. The app was not showing notifications so I followed the instructions here
On Windows 10, a shortcut to your app with an Application User Model ID must be installed to the Start Menu. This can be overkill during development, so adding node_modules\electron\dist\electron.exe to your Start Menu also does the trick. Navigate to the file in Explorer, right-click and 'Pin to Start Menu'. You will then need to add the line app.setAppUserModelId(process.execPath) to your main process to see notifications.
I did as suggested here and the notifications started working. They were still working after packaging the app. So I wanted to check whether after a user uses an installer to install this app, the notifications would still work.
I don't have any experience with packaging software, and I used InstallForge to make an installer. Turns out, after installing the app using the installer, the app still works but notifications don't, even after pinning the exe to start.
I tried copying the build folder (direct build, not the installer one) to another location and trying the same thing and it still works. This also works if I copy the installation folder to another location. But it does not work from inside Program Files(x86)\myapp\appname\build\myapp.exe so I am assuming this must be something about permissions, but I do not understand exactly what is happening. I have't checked the app yet on Linux so I don't know if I would face similar problems there as well.
Any pointers would be great, Thank you.

How to fix a program from having to run as administrator to be able to print in adobe air?

I am having a problem with printing in a adobe air application using the as3 printjob package.
The problem is that the example works 100% as expected until I package the application into a .air file or as a native application. When I do this I can no longer print anything until I right click on the application and run it as administrator.
Is there a way to package the application so it doesn't have to be run as administrator in order for it to be able print? Is there something I should be setting in the mxml file?
Thank you!

Issue genexus cloud deploy sd for windows 8, app open and minimize after splash screen

Genexus developers, I'm experiencing issues after launching the app, start the splash screen, then freeze and minimize immediately. Anyone who experienced this issue?
I've started to deploy to cloud a windows 8 app using genexus ev3 update 2, working on win8.1 SO.
For quick test of win8 generator I've followed the gx wiki tutorial My First Windows 8 App.
Tried the common solutions (registry and folder permissions, screen resolution, ...) and Wiki GX win8 common issues related with this with no success, everything looks as it should be.
Solved
Updated Genexus to Ev3 Upgrade 3 Preview 1
You should check the log to get more info.
Please see "Windows 8 Application closes unexpectedly" section at Common issues page
When the application is run (F5) a debug file is generated. Check it
for further info about the problem behind the app closure. File
location is shown at GeneXus output window (e.g. "Dashboard log file
will be generated at:
'C:\Users\myuser\AppData\Local\Packages\Dashboard_6f78njyw3rst2\LocalState'")
If you have Visual Studio installed you can run the project there for debugging.

Autolaunch exe on USB in windows XP SP3

I want to autolaunch my application on USB as soon as I plug it into a PC running on windows XP SP3. I have made an autorun.inf (having below written code) and also tried to lauch setup using a batch file(autorun.bat) but none of these seem to be working.
I have also read that a particular windows update (KB971029) disables the autorun/autoplay feature of USB. How can I overcome it? (I can't ask my client to uninstall a windows security update for using my product..)
Code Of autorun.inf file
[autorun]
UseAutoPlay=1
icon=setup.exe
Open=setup.exe
action="Start my application"
Label=setup
[Autoplay]
shellexecute=autorun.bat
Icon=setup.exe
My product contains some media (video) files too so on inserting the USB I get a pop up asking following options
1.) to open files in explorer
2.) play files using media player
3.) take no action
If autorun is disabled, you cannot use autorun. It's that simple.

Resources