Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dkxce committed Jun 27, 2023
1 parent 8955c3b commit f25a565
Show file tree
Hide file tree
Showing 17 changed files with 3,474 additions and 0 deletions.
12 changes: 12 additions & 0 deletions About.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
MSI Builder
Обертывание EXE-дистрибутива в MSI файл

template.msi - шаблон подготовленного msi файла с пустым exe'шником installer'а

Софт для обертки:

Apreltech Exe to Msi Converter Free :: https://www.exetomsi.com/freeware/

Orca MSI Editor :: https://www.technipages.com/download-orca-msi-editor/

Evenera InstallShield :: https://www.revenera.com/install/products/installshield
2 changes: 2 additions & 0 deletions MSILid4Exe.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rem call %1
call notepad.exe MSILid4Exe.log
25 changes: 25 additions & 0 deletions MSILid4Exe.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSILid4Exe", "MSILid4Exe\MSILid4Exe.csproj", "{49D8F4DD-65F7-427D-B8DE-A42BB5013DF5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{49D8F4DD-65F7-427D-B8DE-A42BB5013DF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{49D8F4DD-65F7-427D-B8DE-A42BB5013DF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{49D8F4DD-65F7-427D-B8DE-A42BB5013DF5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{49D8F4DD-65F7-427D-B8DE-A42BB5013DF5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {25F3698F-70E1-4AB4-9515-8BF4DB5E4B50}
EndGlobalSection
EndGlobal
82 changes: 82 additions & 0 deletions MSILid4Exe.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<Config>

<FileName>%CD%\*.exe</FileName>
<FileRegex>^(?&lt;FileName&gt;(?!MSILid4Exe).*\.exe)$</FileRegex>
<CmdArgs>/dkxce</CmdArgs>
<SelectFile>1</SelectFile>

<SummaryInfo>
<Property name="Author">$FILE_COMPANY$</Property>
<Property name="Comments">https://github.com/dkxce/MSILid4Exe</Property>
<Property name="Keywords">$PRODUCT_NAME$ Setup Installer</Property>
<Property name="LastSavedBy">MSILid4Exe</Property>
<Property name="RevisionNumber">{8F41CB95-0000-0000-0000-FD8C1BA7FF03}</Property>
<Property name="Subject">$PRODUCT_NAME$</Property>
<Property name="Title">$PRODUCT_NAME$ Installer</Property>
</SummaryInfo>

<Properties>
<Property name="ARPCONTACT">https://github.com/dkxce</Property>
<Property name="ARPHELPLINK">https://github.com/dkxce/MSILid4Exe</Property>
<Property name="ARPURLINFOABOUT">https://github.com/dkxce/MSILid4Exe</Property>
<Property name="Manufacturer">$FILE_COMPANY$</Property>
<Property name="ProductName">$PRODUCT_NAME$ Installer</Property>
<Property name="ProductVersion">$PRODUCT_VERSION$</Property>
<Property name="ProductCode">{8F41CB95-0000-0000-0000-FD8C1BA7FF01}</Property>
<Property name="UpgradeCode">{8F41CB95-0000-0000-0000-FD8C1BA7FF02}</Property>
<Property name="ARPPRODUCTICON">%FileName%.ico</Property>
<Property name="DISPLAYLANGUAGE">EN</Property>
</Properties>

<OnDone>notepad.exe MSILid4Exe.log</OnDone>
<!--OnDone>_MSILid4Exe.cmd</OnDone-->
<!--OnDone>MSILid4Exe.cmd</OnDone-->

<!--
PROPERTIES REPLACEMENTS:
%CD% - Current Directory
%ENVIRONMENT_VARIABLE% - Windows Environment Variables
%ALLUSERSPROFILE%
%APPDATA%
%CommonProgramFiles%
%COMMONPROGRAMFILES(x86)%
%COMPUTERNAME%
%DATE%
%HOMEDRIVE%
%HOMEPATH%
%LOCALAPPDATA%
%PROCESSOR_ARCHITECTURE%
%ProgramData%
%ProgramFiles%
%ProgramFiles(x86)%
%ProgramW6432%
%Public%
%RANDOM%
%SYSTEMDRIVE%
%SYSTEMROOT%
%TEMP%
%TIME%
%TMP%
%USERNAME%
%USERPROFILE%
%WINDIR%
%ANY_NAME% - FOR REPLACE WITH REGEX (?<ANY_NAME>...)
%FileName%
%FileVersion%
$FILE_COMPANY$
$FILE_DESCRIPTION$
$FILE_COMMENT$
$FILE_COMMENT$
$FILE_VERSION$
$FILE_LANGUAGE$
$FILE_COPYRIGHTS$
$PRODUCT_NAME$
$PRODUCT_VERSION$
-->

</Config>
12 changes: 12 additions & 0 deletions MSITables/AdminExecuteSequence.idt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Action Condition Sequence
s72 S255 I2
AdminExecuteSequence Action
CostFinalize 1000
CostInitialize 800
DIRCA_TARGETDIR TARGETDIR="" 750
FileCost 900
InstallAdminPackage 3900
InstallFiles 4000
InstallFinalize 6600
InstallInitialize 1500
InstallValidate 1400
17 changes: 17 additions & 0 deletions MSITables/AdvtExecuteSequence.idt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Action Condition Sequence
s72 S255 I2
AdvtExecuteSequence Action
CostFinalize 1000
CostInitialize 800
CreateShortcuts 4500
DIRCA_TARGETDIR TARGETDIR="" 750
InstallFinalize 6600
InstallInitialize 1500
InstallValidate 1400
MsiPublishAssemblies 6250
MsiUnpublishAssemblies 1650
PublishComponents 6200
RegisterClassInfo 4600
RegisterExtensionInfo 4700
RegisterMIMEInfo 4900
RegisterProgIdInfo 4800
5 changes: 5 additions & 0 deletions MSITables/CustomAction.idt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Action Type Source Target
s72 i2 S72 S255
CustomAction Action
DIRCA_TARGETDIR 307 TARGETDIR [WindowsFolder]\Temp
_B3D13F97_1369_417D_A477_B4C42B829328 3074 _D7D112F049BA1A655B5D9A1D0702DEE5 /ad_id=[++AD_ID++]......................................................................................................................................................[--AD_ID--]
Loading

0 comments on commit f25a565

Please sign in to comment.