Search found 5 matches

Go to advanced search

by xtrophic2
Wed Feb 12, 2025 11:55 am
Forum: Building Installers
Topic: Parameters not getting passed properly to prerequisites (in /qn mode)
Replies: 2
Views: 15282
 
Jump to post

Re: Parameters not getting passed properly to prerequisites (in /qn mode)

Attaching a simple installer project that shows this behaviour when using /qn to install it.
by xtrophic2
Tue Feb 11, 2025 11:14 am
Forum: Building Installers
Topic: Parameters not getting passed properly to prerequisites (in /qn mode)
Replies: 2
Views: 15282
 
Jump to post

Parameters not getting passed properly to prerequisites (in /qn mode)

Installer is working perfect when running with full GUI but when running silent properties are not set correctly.

There are pre-requisites that are depending on properties being set. They are set by a powershell script / custom action C# implementation. All other aspects of the install seem to use ...
by xtrophic2
Fri Feb 07, 2025 1:19 pm
Forum: Building Installers
Topic: Problem with powershell custom action.
Replies: 4
Views: 22915
 
Jump to post

Re: Problem with powershell custom action.

Yes, I have tried that. But from previous tests the permissions are not set when folder is created but at a later stage. And as part of the setup we import a database file at which point the access is not set.

That's what prompted me to originally move setting permissions to a custom PS script ...
by xtrophic2
Thu Jan 30, 2025 3:41 pm
Forum: Building Installers
Topic: Problem with powershell custom action.
Replies: 4
Views: 22915
 
Jump to post

Re: Problem with powershell custom action.

Update:

It might not be the code itself to change the permissions that isn't working or it might be my move to set the permissions via C# in my Custom Action.

But there seems to be a problem with the path. Files are copied to the following path:
\Local\Temp\2\MyTempFolder

But when I pass the ...
by xtrophic2
Thu Jan 30, 2025 11:56 am
Forum: Building Installers
Topic: Problem with powershell custom action.
Replies: 4
Views: 22915
 
Jump to post

Problem with powershell custom action.

I have a setup that's been working fine up until we started using Windows 2022 / 2025 server and now I am getting some odd errors down the line. We have a part where we are restoring an SQL database and in order for that to work we have to change permissions on the temp folder created for the backup ...

Go to advanced search