Search found 109 matches

by jsira2003@yahoo.com
Sun Jan 27, 2019 9:01 am
Forum: Windows PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 3651

Re: GetNetworkCredential difficulties

First all let me say I appreciate all your help! I saw the many listing on the web regarding this ugly error. It certainly is ugly. The thing I cannot wrap my head around is the following: It does not work as a packaged app. Yet is work perfectly in ise. As you can see once the function has the file...
by jsira2003@yahoo.com
Sat Jan 26, 2019 2:28 pm
Forum: Windows PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 3651

Re: GetNetworkCredential difficulties

I executed my code with your error catching. I will see if I can catch error before packaging as you said in the ps studio. From what I read it seems as if the expected byte counts are off in the Encrypted string.

This is tricky stuff
John
by jsira2003@yahoo.com
Sat Jan 26, 2019 1:56 pm
Forum: Windows PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 3651

Re: GetNetworkCredential difficulties

I now have an error message. I am not sure why I have it but I think I'm going to learn more today. The message is: padding is invalid and cannot be removed At this point I am not sure where to adjust it. From what I read the padding should be the same on both the encrypting and decrypting side. If ...
by jsira2003@yahoo.com
Sat Jan 26, 2019 1:29 pm
Forum: Windows PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 3651

Re: GetNetworkCredential difficulties

I take it the erroractionpreference stop will stop function if an error is encounter after reporting message.
by jsira2003@yahoo.com
Sat Jan 26, 2019 10:59 am
Forum: Windows PowerShell
Topic: GetNetworkCredential difficulties
Replies: 40
Views: 3651

GetNetworkCredential difficulties

The following function works well in the powershell ise. I supply the encrypted file. I get an a userkey array returned. Works like a champ. If I work this within my application built by powershell studio the following line returns nothing: $Secure2 = $aline | ConvertTo-SecureString -Key ($key) I ha...
by jsira2003@yahoo.com
Mon Jan 14, 2019 11:55 am
Forum: PowerShell Studio
Topic: code signing certificates
Replies: 3
Views: 709

Re: code signing certificates

One last question should do it for me. Should the certificate request be made for the machine or the user. I saw something that said the user. Do you have any thoughts on this?

thank,
John
by jsira2003@yahoo.com
Sat Jan 12, 2019 8:51 am
Forum: PowerShell Studio
Topic: code signing certificates
Replies: 3
Views: 709

code signing certificates

I tried a go daddy certificate and I failed to set up the csr. Worked with their support and that went bust. Their documentation and assistance was awful. ssltrust has good info on the process so i am almost ready to try again at the comodo store. There are 4 types of certificate under consideration...
by jsira2003@yahoo.com
Tue Jan 08, 2019 12:07 pm
Forum: PowerShell Studio
Topic: multiple executable in an msi package not installed in menu and & to execute
Replies: 5
Views: 782

Re: multiple executable in an msi package not installed in menu and & to execute

I did set-location c:\program files (x86) ... I found that if I launch my app like & $(".\app.exe") it works perfectly! If I add the full path before it, it does not work. I guess and correct me if I am wrong, if i default the location to the app path, i should be able to get away with .\app.exe. It...
by jsira2003@yahoo.com
Tue Jan 08, 2019 10:46 am
Forum: PowerShell Studio
Topic: multiple executable in an msi package not installed in menu and & to execute
Replies: 5
Views: 782

Re: multiple executable in an msi package not installed in menu and & to execute

Any thought about why my & would not work after being packaged and installed in c:\program files (x86) with running my videos or executables? Is there a better way to execute these actions? This did work for me prior to creating a package.

thanks,
John
by jsira2003@yahoo.com
Tue Jan 08, 2019 8:09 am
Forum: PowerShell Studio
Topic: multiple executable in an msi package not installed in menu and & to execute
Replies: 5
Views: 782

multiple executable in an msi package not installed in menu and & to execute

In my msi package that I am creating I want 3 executables from 3 different apps. Only one shows up in the windows program menu. I am wondering if there is a way to correct or adjust this? I thought that it would just add each executable as an additional menu item for the same program since it is par...