Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIXFEAT:3736 - Add burn variable to cache path #52

Merged
merged 2 commits into from
Jun 2, 2014

Conversation

rseanhall
Copy link
Contributor

Add WixBundleExecutePackageCacheFolder variable.

@@ -441,6 +441,12 @@ extern "C" HRESULT ExeEngineExecutePackage(
hr = CacheGetCompletedPath(pExecuteAction->exePackage.pPackage->fPerMachine, pExecuteAction->exePackage.pPackage->sczCacheId, &sczCachedDirectory);
ExitOnFailure1(hr, "Failed to get cached path for package: %ls", pExecuteAction->exePackage.pPackage->sczId);

hr = PathBackslashTerminate(&sczCachedDirectory);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would be better to do this in the function that would set sczCachedDirectory rather than force a reallocation (probably) just for a variable value.

@barnson barnson merged commit 4798525 into wixtoolset:develop Jun 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants