Page 2 of 4

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 10:49 am
by phebenstreit
The issue is with running the "Build" process from "Packager". It is unable to create the exe. so i'm not even trying to perform an MSI Build. I don't really use that functionality.

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 10:52 am
by Olga_B
What is the full path for Output folder? Does it have any spaces or #? Is it on local machine or Network drive?

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 11:14 am
by phebenstreit
the output path is local. And I tried multiple different paths; all with the same net result. No special characters and no spaces in the current output path C:\Storage\PowerShellStudio\Projects\SPBRASS\bin\

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 11:25 am
by Olga_B
And what kind of project?
Is it Form Project, Module Project or Empty Project?

You can't build .exe for Module Project

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 11:30 am
by phebenstreit
This is a form project. And was working perfectly fine with PSS 2014. I really only have 3 different "Projects". All do the same things now with PSS 2019.

I also tried creating a brand new Blank Form Project. Added just a single button. And i get this same error.

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 11:34 am
by Olga_B
Are you using any signing certificate?

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 11:35 am
by phebenstreit
No signing certificate

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 12:28 pm
by phebenstreit
Tried a full uninstall, reboot, re-install. Same issue. There are some remnants of the application in the system somewhere though. Recent file list and 'options' remained unchanged after uninstall.

No idea if that would help any or not; but figured on the off chance that the pre-existing 2014 install could have caused unusual behavior that you wouldn't be familiar with. But no luck.

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 1:01 pm
by Alexander Riedel
We are running in circles because we don't have enough information. We asked you to upload your project, maybe just the sample one, so we can actually see your settings. Otherwise we are blind.
I would also like to ask you to post a screenshot of the actual output window as you attempt to build an exe.
It most certainly does output more than the error message you originally posted and we do need to see the exact sequence.
We also need to know the *exact* Windows 10 build you are using, which you can easily obtain from WinVer.
Additionally, please indicate if this is a computer that part of a network and subject to group policy settings.
When the message box with the error comes up, do not click 'OK'. Go and look with Windows Explorer at the target folder and please tell us what files, if any, are there at that instance.
Then click "Ok" and see if any files are left.

Last but not least, at this point I would recommend to install PowerShell Studio on another computer, maybe one that is not part of your network.
That would give us an idea if this situation is associated with your computer, your environment, or something else we haven't figured out yet.

Re: Cannot Build Any EXE Projects PSS 2019

Posted: Tue Aug 13, 2019 1:11 pm
by Alexander Riedel
A little research on that error code under Windows shows it to be a common occurrence if permissions are insufficient or if an anti-virus application is locking / removing / quarantining the file.
I am suspecting that you had an exception for the 2014 version created somewhere. It's been a few years, so that is easy to forget.
The steps outlined above will give us more insight into what actually happens.