mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
e984c31b7b
commit
57bdc0e5ec
|
@ -899,6 +899,10 @@
|
||||||
RelativePath="..\ps2_silver.bmp"
|
RelativePath="..\ps2_silver.bmp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\uninstall.ico"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Include"
|
Name="Include"
|
||||||
|
|
|
@ -138,7 +138,12 @@ int ParseCommandLine( int tokenCount, TCHAR *const *const tokens )
|
||||||
else if( CmdSwitchIs( "dev9" ) ) {
|
else if( CmdSwitchIs( "dev9" ) ) {
|
||||||
g_Startup.dev9dll = param;
|
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;
|
return 0;
|
||||||
|
|
|
@ -767,6 +767,7 @@ END
|
||||||
// Icon with lowest ID value placed first to ensure application icon
|
// Icon with lowest ID value placed first to ensure application icon
|
||||||
// remains consistent on all systems.
|
// remains consistent on all systems.
|
||||||
IDI_ICON ICON "Cdrom02.ico"
|
IDI_ICON ICON "Cdrom02.ico"
|
||||||
|
IDI_UNINSTALL_ICON ICON "uninstall.ico"
|
||||||
#endif // Spanish (Argentina) resources
|
#endif // Spanish (Argentina) resources
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#define IDD_ADDRAW 178
|
#define IDD_ADDRAW 178
|
||||||
#define IDD_PNACHWRITER 179
|
#define IDD_PNACHWRITER 179
|
||||||
#define IDD_CONF_MEMCARD 180
|
#define IDD_CONF_MEMCARD 180
|
||||||
|
#define IDI_UNINSTALL_ICON 181
|
||||||
#define IDC_MEM_SCROLL 1001
|
#define IDC_MEM_SCROLL 1001
|
||||||
#define IDC_MCD2 1004
|
#define IDC_MCD2 1004
|
||||||
#define IDC_MCD1 1005
|
#define IDC_MCD1 1005
|
||||||
|
@ -413,7 +414,7 @@
|
||||||
//
|
//
|
||||||
#ifdef APSTUDIO_INVOKED
|
#ifdef APSTUDIO_INVOKED
|
||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
#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_COMMAND_VALUE 40018
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1331
|
#define _APS_NEXT_CONTROL_VALUE 1331
|
||||||
#define _APS_NEXT_SYMED_VALUE 104
|
#define _APS_NEXT_SYMED_VALUE 104
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
|
@ -82,6 +82,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Include", "Include", "{0FAD
|
||||||
common\include\PS2Etypes.h = common\include\PS2Etypes.h
|
common\include\PS2Etypes.h = common\include\PS2Etypes.h
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "setup", "setup\setup.vdproj", "{14259DC9-2A12-4B05-A7D7-23C1A9FFEA03}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
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 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.ActiveCfg = Release|Win32
|
||||||
{CDD9DB83-3BD9-4ED8-BB83-399A2F65F022}.Release SSSE3|Win32.Build.0 = 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
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue