diff --git a/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h b/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h
index c6d3038acb..a497222aad 100644
--- a/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h
+++ b/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h
@@ -281,7 +281,7 @@ namespace VSTHelpers
config->getValue (Ids::useRuntimeLibDLL) = true;
if (config->getValue (Ids::postbuildCommand).toString().isEmpty())
- config->getValue (Ids::postbuildCommand) = "copy /Y $(OutDir)$(TargetFileName) $(OutDir)$(TargetName).vst3";
+ config->getValue (Ids::postbuildCommand) = "copy /Y \"$(OutDir)$(TargetFileName)\" \"$(OutDir)$(TargetName).vst3\"";
}
}
}
diff --git a/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj b/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj
index 38345d2423..125cba4f5c 100644
--- a/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj
+++ b/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj
@@ -66,7 +66,7 @@
+ CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/>
+ CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/>
diff --git a/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj b/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj
index 568171bdc7..d36d8f495d 100644
--- a/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj
+++ b/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj
@@ -66,7 +66,7 @@
+ CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/>
+ CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/>
diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
index 5f162591ce..b09bfc6ced 100644
--- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
+++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
@@ -1460,7 +1460,7 @@ private:
#ifndef JucePlugin_Vst3Category
#if JucePlugin_IsSynth
- #define JucePlugin_Vst3Category Vst::PlugType::kInstrument
+ #define JucePlugin_Vst3Category Vst::PlugType::kInstrumentSynth
#else
#define JucePlugin_Vst3Category Vst::PlugType::kFx
#endif