diff --git a/utils/nightly/gmsh_mac.ctest b/utils/nightly/gmsh_mac.ctest
index 9febf90d0ec006e5d6cdb1618ca96faf899c5986..174c269500065439802800f7359506fd3c089fa8 100644
--- a/utils/nightly/gmsh_mac.ctest
+++ b/utils/nightly/gmsh_mac.ctest
@@ -23,10 +23,13 @@ set(OPT "${OPT} -DCMAKE_CXX_FLAGS=-mmacosx-version-min=10.5")
 set(OPT "${OPT} -DPETSC_ARCH=macosx_complex_mumps_seq")
 set(OPT "${OPT} -DPETSC_DIR=$ENV{HOME}/src/petsc-3.1-p8")
 set(OPT "${OPT} -DSLEPC_DIR=$ENV{HOME}/src/slepc-3.1-p6")
+if(BUILD_DYNAMIC)
+  set(OPT "${OPT} -DENABLE_OS_SPECIFIC_INSTALL=0")
+endif(BUILD_DYNAMIC)
 set(CTEST_BUILD_OPTIONS ${OPT})
 include(gmsh.ctest)
 if(BUILD_DYNAMIC)
-  upload_package(${WEB_BIN} MacOSX -dynamic .dmg .dmg)
+  upload_package(${WEB_BIN} MacOSX -dynamic .tar.gz .tgz)
 else(BUILD_DYNAMIC)
   upload_package(${WEB_BIN} MacOSX "" .dmg .dmg)
 endif(BUILD_DYNAMIC)