Search found 7974 matches

by Alexander Riedel
Tue May 24, 2022 7:10 am
Forum: PowerShell
Topic: SFC /Scannow Not Working
Replies: 5
Views: 154

Re: SFC /Scannow Not Working

There is a 32 bit and 64 bit sfc.exe. Since you packaged with a 32 Bit engine the 32 bit SFC.exe will be executed unless you use a specific non-mapped path. What you run in the console on a 64 bit system is (I bet) the 64 bit version. You are mixing platforms for some reason and that never works rel...
by Alexander Riedel
Mon May 23, 2022 12:38 pm
Forum: Former and Future Customers - Questions
Topic: compiled exe dependency on powershell locally
Replies: 1
Views: 584

Re: compiled exe dependency on powershell locally

There is no compiler for PowerShell. That is why we call it 'Packager'. So of course there is a dependency, the packaged code still requires a PowerShell engine to run. Depending on the PowerShell version we are talking about, the executables can load a runtime containing a PowerShell version withou...
by Alexander Riedel
Mon May 23, 2022 11:42 am
Forum: Former and Future Customers - Questions
Topic: ImportModuleHelp.exe
Replies: 2
Views: 185

Re: ImportModuleHelp.exe

ImportModuleHelp does, as you may have suspected, import help from modules. PowerShell modules to be exact.
So yeah, it will create problems, the files does exist for a reason.
Can you tell us maybe what your endpoint software didn't like? Was it the name, or was it not pretty enough ? :D
by Alexander Riedel
Sat May 21, 2022 11:45 pm
Forum: PowerShell
Topic: Deployment N00b!
Replies: 6
Views: 193

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: 193

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: 643

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: 475

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: 2480

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: 2480

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?