Added a setup project, main advantage that it can install vc_redist and other dlls.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1393 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2009-06-18 16:23:54 +00:00
parent e984c31b7b
commit 57bdc0e5ec
7 changed files with 2926 additions and 2 deletions

View File

@ -899,6 +899,10 @@
RelativePath="..\ps2_silver.bmp"
>
</File>
<File
RelativePath="..\uninstall.ico"
>
</File>
</Filter>
<Filter
Name="Include"

View File

@ -138,7 +138,12 @@ int ParseCommandLine( int tokenCount, TCHAR *const *const tokens )
else if( CmdSwitchIs( "dev9" ) ) {
g_Startup.dev9dll = param;
}
else if( CmdSwitchIs( "uninstall" ) ) {
char buff[256];
sprintf(buff, " /x %s", param);
ShellExecute(NULL, "open", "msiexec.exe", buff, NULL, SW_SHOWNORMAL);
ExitProcess(0);
}
}
}
return 0;

View File

@ -767,6 +767,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON ICON "Cdrom02.ico"
IDI_UNINSTALL_ICON ICON "uninstall.ico"
#endif // Spanish (Argentina) resources
/////////////////////////////////////////////////////////////////////////////

View File

@ -26,6 +26,7 @@
#define IDD_ADDRAW 178
#define IDD_PNACHWRITER 179
#define IDD_CONF_MEMCARD 180
#define IDI_UNINSTALL_ICON 181
#define IDC_MEM_SCROLL 1001
#define IDC_MCD2 1004
#define IDC_MCD1 1005
@ -413,7 +414,7 @@
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 141
#define _APS_NEXT_RESOURCE_VALUE 182
#define _APS_NEXT_COMMAND_VALUE 40018
#define _APS_NEXT_CONTROL_VALUE 1331
#define _APS_NEXT_SYMED_VALUE 104

BIN
pcsx2/windows/uninstall.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -82,6 +82,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Include", "Include", "{0FAD
common\include\PS2Etypes.h = common\include\PS2Etypes.h
EndProjectSection
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "setup", "setup\setup.vdproj", "{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@ -271,6 +273,11 @@ Global
{CDD9DB83-3BD9-4ED8-BB83-399A2F65F022}.Release SSE4|Win32.Build.0 = Release|Win32
{CDD9DB83-3BD9-4ED8-BB83-399A2F65F022}.Release SSSE3|Win32.ActiveCfg = Release|Win32
{CDD9DB83-3BD9-4ED8-BB83-399A2F65F022}.Release SSSE3|Win32.Build.0 = Release|Win32
{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}.Debug|Win32.ActiveCfg = Release SSE2
{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}.Devel|Win32.ActiveCfg = Release SSE2
{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}.Release SSE2|Win32.ActiveCfg = Release SSE2
{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}.Release SSE4|Win32.ActiveCfg = Release SSE4
{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}.Release SSSE3|Win32.ActiveCfg = Release SSSE3
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

2906
setup/setup.vdproj Normal file

File diff suppressed because it is too large Load Diff