Unable to package EXE file PS Studio 2014

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 10 years and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
TelefoneN
Posts: 11
Last visit: Wed Oct 10, 2018 3:46 pm

Unable to package EXE file PS Studio 2014

Post by TelefoneN »

Helloo
If I package a just created Forms project i get an error message saying:
Unhandled Exception: System.ArgumentOutOfRangeException: Year , Mont, and Day parameters describe an un-representable DAteTime. at System.DateTime.DateToTick(Int32 year, Int32 month , Int32 day)
And so on....

Also if I run the project inside PS Studio it cannot call the Call-MainForm_pff function either, it says it does not exist?? Is the "Run project" button hidden somewhere becuase it seems like my program just wants to run this file not the whole project.

If I open a big project I have worked on before in PS Studio 2012, make som modifications and then package it a MessageBox comes up and says "Attach Debugger now" and the program never starts.

Just found another weird issue, opening another project that I originally coded in 2012 and try to "Run" it inside PS Studio it says Illegal characters in path, works fine in 2012
User avatar
Alexander Riedel
Posts: 8488
Last visit: Mon Apr 15, 2024 3:28 pm
Answers: 20
Been upvoted: 37 times

Re: Unable to package EXE file PS Studio 2014

Post by Alexander Riedel »

Hmm, obviously there is something wrong.
I will have the team look at that as soon as possible.
It's the middle of the night here, but as soon as they are in again...
Please stand by.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8488
Last visit: Mon Apr 15, 2024 3:28 pm
Answers: 20
Been upvoted: 37 times

Re: Unable to package EXE file PS Studio 2014

Post by Alexander Riedel »

I think I know what happened.
Can you please go here:
C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2014\ScriptEngines

Right click on any .exe file in there and see if it has a digital signature?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
TelefoneN
Posts: 11
Last visit: Wed Oct 10, 2018 3:46 pm

Re: Unable to package EXE file PS Studio 2014

Post by TelefoneN »

All .exe files does seem to have a valid digital signature, the only thing missing is a timestamp.
I tried installing the software on a freshly installed windows 7 machine but same problem, cannot even run a project inside PS Studio.
User avatar
TelefoneN
Posts: 11
Last visit: Wed Oct 10, 2018 3:46 pm

Re: Unable to package EXE file PS Studio 2014

Post by TelefoneN »

I am running Windows 8.1 x64 and running the PS Studio 64 bit version.
User avatar
Alexander Riedel
Posts: 8488
Last visit: Mon Apr 15, 2024 3:28 pm
Answers: 20
Been upvoted: 37 times

Re: Unable to package EXE file PS Studio 2014

Post by Alexander Riedel »

Can you please update to the latest build?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
TelefoneN
Posts: 11
Last visit: Wed Oct 10, 2018 3:46 pm

Re: Unable to package EXE file PS Studio 2014

Post by TelefoneN »

When i hit update it says Powershell Studio 2014 is unchanged, is there any information I can provide you with??
This topic is 10 years and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked