System64Folder Wix error when building MSI

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

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 1 year and 8 months 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.
RP230049
Posts: 4
Last visit: Fri Mar 08, 2024 4:45 am

System64Folder Wix error when building MSI

Post by RP230049 »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: Powershell Studio 5.8.20
Operating system: Windows 10 64
PowerShell version(s): Powershell 5



I am attempting to compile an MSI using the Deploy Settings option. I need two files during the MSI install on a target system to copy two files to the 64 bit "System32" directory. When attempting to build the MSI I am getting a WIX error: "Unresolved reference to symbol 'Directory:System64Folder. I was able to build the MSI using "SystemFolder" however that didn't work either I didn't see the files in either System32 or SYSWOW64.




DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Attachments
Settings
Settings
Screenshot 2022-07-07 172037.png (22.91 KiB) Viewed 2249 times
Wix Error
Wix Error
Screenshot 2022-07-07 172152.png (28.79 KiB) Viewed 2249 times
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: System64Folder Wix error when building MSI

Post by Alexander Riedel »

Can you please upload the heatout.wix file here: https://www.sapien.com/support/upload
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: System64Folder Wix error when building MSI

Post by Alexander Riedel »

Thank you for sending your files. We will investigate and get back to you.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: System64Folder Wix error when building MSI

Post by Alexander Riedel »

We have discovered the cause of this issue. The fix is currently tested in QA. If you are interested I can give you instructions for a temporary fix.
Alexander Riedel
SAPIEN Technologies, Inc.
RP230049
Posts: 4
Last visit: Fri Mar 08, 2024 4:45 am

Re: System64Folder Wix error when building MSI

Post by RP230049 »

Alexander,

That sounds great. I would be interested in trying out the fix if you don't mind.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: System64Folder Wix error when building MSI

Post by Alexander Riedel »

Quick question. Is your installer marked as 64 bit or not?
Alexander Riedel
SAPIEN Technologies, Inc.
RP230049
Posts: 4
Last visit: Fri Mar 08, 2024 4:45 am

Re: System64Folder Wix error when building MSI

Post by RP230049 »

Alexander,


The MSI is set for 64 bit. Attached is a snapshot of the build settings for the MSI.
Attachments
image_2022-07-12_111559173.png
image_2022-07-12_111559173.png (26.21 KiB) Viewed 1780 times
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: System64Folder Wix error when building MSI

Post by Alexander Riedel »

Ok, so here it goes.
Locate this folder: C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2022\MSIBuilder
Make a backup of the *.txt files in that folder. Preferable do that in another location so it does not interfere with future installs.
Replace them with the ones in the attached zip.
It should work after that. If not, please let me know.
Please understand that this will make building 32 bit MSI that use that system64folder not work until the next service build.
I will also point out that the PowerShell 5 version check you have set will be deprecated in the next service build.
Attachments
MSIBuilder.zip
(7.89 KiB) Downloaded 40 times
Alexander Riedel
SAPIEN Technologies, Inc.
RP230049
Posts: 4
Last visit: Fri Mar 08, 2024 4:45 am

Re: System64Folder Wix error when building MSI

Post by RP230049 »

Alexander,

I was able to successfully build the MSI using the System64 folder option. However checking the System32 folder after the install the files weren't present.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: System64Folder Wix error when building MSI

Post by Alexander Riedel »

I am not certain which files you refer to. You had some custom action running with the system32 folder as the current directory. That's kinda all I know about that.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 1 year and 8 months 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.