PDA

View Full Version : MSbuild installshield parameters



icecreman_98
11-09-2010, 12:11 PM
Could someone post how to change the BuildCompressed parameter in their isproj file so MSBuild compresses the output to a single file rather than leaving them all separate?

Thank you in advance.

icecreman_98
11-09-2010, 12:32 PM
Here's my isproj file... can anyone tell me how to modify this to compress into a single executable?

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<!-- Select a Product Configuration -->
<InstallShieldProductConfiguration>Product Configuration 1</InstallShieldProductConfiguration>
<!-- Select a Visual Studio Configuration / InstallShield Release -->
<Configuration>Debug</Configuration>
<InstallShieldRelease>$(Configuration)</InstallShieldRelease>
</PropertyGroup>
<ItemGroup>
<!-- The InstallShieldProject item selects the project to build -->
<InstallShieldProject Include="$(MSBuildProjectDirectory)\$(MSBuildProjectName).ism"/>
<!-- The InstallShieldReleaseFlags sets Release Flags -->
<!-- <InstallShieldReleaseFlags Include=""/> -->
<!-- The InstallShieldMergeModulePath specifies what directories are
searched for Merge Modules -->
<!--<InstallShieldMergeModulePath Include=""/>-->
</ItemGroup>
<ItemGroup>
<!-- The ProjectReference items refer to any Visual Studio solutions you want to automatically probe for Project Output Groups. -->
</ItemGroup>
<ItemGroup>
<!-- The TaggedOutputs items allow you to explicitly add extra files to output groups. Each item must include both Name and OutputGroup, as well as TargetPath metadata values. -->
<!--<TaggedOutputs Include="C:\My Test Exe.exe">
<Name>My Test Project</Name>
<OutputGroup>Primary output</OutputGroup>
<TargetPath>My Test Exe.exe</TargetPath>
</TaggedOutputs> -->
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\InstallShield\2011\InstallShield.targets"/>
<ItemGroup>
</ItemGroup>
</Project>

icecreman_98
11-09-2010, 03:22 PM
Nevermind... figured it out...

stone386
10-18-2013, 12:27 AM
How do you do this?