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
System64Folder Wix error when building MSI
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.
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.
System64Folder Wix error when building MSI
- Attachments
-
- Settings
- Screenshot 2022-07-07 172037.png (22.91 KiB) Viewed 2249 times
-
- Wix Error
- Screenshot 2022-07-07 172152.png (28.79 KiB) Viewed 2249 times
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: System64Folder Wix error when building MSI
Can you please upload the heatout.wix file here: https://www.sapien.com/support/upload
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: System64Folder Wix error when building MSI
Thank you for sending your files. We will investigate and get back to you.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: System64Folder Wix error when building MSI
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.
SAPIEN Technologies, Inc.
Re: System64Folder Wix error when building MSI
Alexander,
That sounds great. I would be interested in trying out the fix if you don't mind.
That sounds great. I would be interested in trying out the fix if you don't mind.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: System64Folder Wix error when building MSI
Quick question. Is your installer marked as 64 bit or not?
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: System64Folder Wix error when building MSI
Alexander,
The MSI is set for 64 bit. Attached is a snapshot of the build settings for the MSI.
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 (26.21 KiB) Viewed 1780 times
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: System64Folder Wix error when building MSI
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.
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.
SAPIEN Technologies, Inc.
Re: System64Folder Wix error when building MSI
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.
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.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: System64Folder Wix error when building MSI
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.
SAPIEN Technologies, Inc.