Cannot Build Any EXE Projects PSS 2019

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
phebenstreit
Posts: 17
Joined: Thu Sep 25, 2014 9:02 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by phebenstreit » Tue Aug 13, 2019 10:49 am

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.

User avatar
Olga_B
Site Admin
Posts: 119
Joined: Mon May 15, 2017 9:06 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by Olga_B » Tue Aug 13, 2019 10:52 am

What is the full path for Output folder? Does it have any spaces or #? Is it on local machine or Network drive?

User avatar
phebenstreit
Posts: 17
Joined: Thu Sep 25, 2014 9:02 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by phebenstreit » Tue Aug 13, 2019 11:14 am

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\

User avatar
Olga_B
Site Admin
Posts: 119
Joined: Mon May 15, 2017 9:06 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by Olga_B » Tue Aug 13, 2019 11:25 am

And what kind of project?
Is it Form Project, Module Project or Empty Project?

You can't build .exe for Module Project

User avatar
phebenstreit
Posts: 17
Joined: Thu Sep 25, 2014 9:02 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by phebenstreit » Tue Aug 13, 2019 11:30 am

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.

User avatar
Olga_B
Site Admin
Posts: 119
Joined: Mon May 15, 2017 9:06 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by Olga_B » Tue Aug 13, 2019 11:34 am

Are you using any signing certificate?

User avatar
phebenstreit
Posts: 17
Joined: Thu Sep 25, 2014 9:02 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by phebenstreit » Tue Aug 13, 2019 11:35 am

No signing certificate

User avatar
phebenstreit
Posts: 17
Joined: Thu Sep 25, 2014 9:02 am

Re: Cannot Build Any EXE Projects PSS 2019

Post by phebenstreit » Tue Aug 13, 2019 12:28 pm

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.

User avatar
Alexander Riedel
Posts: 7052
Joined: Tue May 29, 2007 4:43 pm

Re: Cannot Build Any EXE Projects PSS 2019

Post by Alexander Riedel » Tue Aug 13, 2019 1:01 pm

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.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
Alexander Riedel
Posts: 7052
Joined: Tue May 29, 2007 4:43 pm

Re: Cannot Build Any EXE Projects PSS 2019

Post by Alexander Riedel » Tue Aug 13, 2019 1:11 pm

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.
Alexander Riedel
SAPIEN Technologies, Inc.