Search found 7971 matches

by Alexander Riedel
Sat May 21, 2022 11:45 pm
Forum: PowerShell
Topic: Deployment N00b!
Replies: 6
Views: 161

Re: Deployment N00b!

I am sure you realized that the files don't actually exist in the folders indicated. The executable resulting from packaging is not created in the same folder as your original script. So you have to copy/move any auxiliary files relative to where the executable is. https://www.sapien.com/blog/2009/0...
by Alexander Riedel
Sat May 21, 2022 5:00 pm
Forum: PowerShell
Topic: Deployment N00b!
Replies: 6
Views: 161

Re: Deployment N00b!

You will have to be more specific. External scripts means dot sourced scripts. Modules cannot be resolved and packaged, that would defeat the purpose of a module. Not sure what you mean by it cannot 'see' them. Generally, it is best to provide the code you use to access something and the resulting e...
by Alexander Riedel
Mon May 16, 2022 1:11 pm
Forum: PowerShell Studio
Topic: Sapien Credential Feature not working when packaged
Replies: 10
Views: 541

Re: Sapien Credential Feature not working when packaged

Please post the code you use to retrieve the stored credentials and indicate where exactly in the form based code you do that.
by Alexander Riedel
Thu May 12, 2022 11:59 pm
Forum: PowerShell Studio
Topic: Silent Install of .exe
Replies: 3
Views: 414

Re: Silent Install of .exe

Advanced Installer has a good number of places where you can specify an executable to do, well, something. 2022-05-12_23-52-55.png The options are usually very specific, as in this example that makes it clear it relates to a 'console application'. Advanced Installer also has a very comprehensive hel...
by Alexander Riedel
Tue May 10, 2022 3:49 am
Forum: PowerShell Studio
Topic: Intellisense not working/cache not building
Replies: 33
Views: 2284

Re: Intellisense not working/cache not building

These two modules seems to load and add to the cache just fine here, so there must be something else at play.
I attached the files, so you can just copy them in and use the cache editor to activate them.
Your own module you can upload here: https://www.sapien.com/support/upload
I'll have a look
by Alexander Riedel
Tue May 10, 2022 3:29 am
Forum: PowerShell Studio
Topic: Intellisense not working/cache not building
Replies: 33
Views: 2284

Re: Intellisense not working/cache not building

You should not need to run elevated.
The logs would be created here: C:\Users\<User>\AppData\Roaming\SAPIEN\CachedData 2.1\Local Machine
Sorry I did not mention that. Can you check on those please?
by Alexander Riedel
Mon May 09, 2022 10:42 pm
Forum: PowerShell Studio
Topic: Intellisense not working/cache not building
Replies: 33
Views: 2284

Re: Intellisense not working/cache not building

As you can see, the module is included in the cached information. 2022-05-09_22-33-50.png The two files (CacheProxyV5.dll and ModuleImporterV5.dll) in the zip go here: C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2022\CacheBuilder64 Please make certain that you make a copy of the orig...
by Alexander Riedel
Mon May 09, 2022 10:30 pm
Forum: PowerShell Studio
Topic: Intellisense not working/cache not building
Replies: 33
Views: 2284

Re: Intellisense not working/cache not building

I will upload some updated components for testing shortly. If you are up for some testing. I have been debugging this for a while now, and it seems the following happens: Some modules (without outside reason) load fine but do not report exported cmdlets etc at all on first load. The cachebuilder sav...
by Alexander Riedel
Mon May 09, 2022 12:40 pm
Forum: PowerShell Studio
Topic: Intellisense not working/cache not building
Replies: 33
Views: 2284

Re: Intellisense not working/cache not building

Just to keep you in the loop. It appears the az.sql module cannot be loaded correctly when one or more other az.* modules have already been loaded.
We are working on a remedy, please stand by.