Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 546

PowerShell GUIs • Re: include files inside of .EXE or .MSI

$
0
0
Please do not use the term 'compile'. It just creates confusion. You package a script to make an exe (that is also not a compiler). Or you build/create/make an MSI.
The term "to compile" in this context means to translate source code into binary machine instructions or at least ILASM (Intermediate Language ASeMbly), both of which do not apply here.

"when I compile this shouldn't it compile the c:\temp\desktop_manager.exe within the .MSI file?"
The MSI builder will add any file to your installer that you specify. If you do not add it, no, it will not add it just because you call it somewhere.

If you add your file from C:\Temp\DesktopManager.exe it does not mean that the installer will copy it to that location. That is not how installers operate.
The files you add are collected from the location you specify, but will be copied on the target machine to the specified install folder.
So your 'C:\Temp\DesktopManager.exe' will end up in 'C:\Program Files\<your product>\DesktopManager.exe. Assuming your target folder is under "C:\Program Files".

This may help you as well:
https://www.sapien.com/blog/2024/01/17/ ... r-install/

Statistics: Posted by Alexander Riedel — Mon Feb 05, 2024 10:48 am



Viewing all articles
Browse latest Browse all 546

Trending Articles