Skip to content

Commit

Permalink
0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilFreelancer committed Oct 11, 2017
1 parent cc5e172 commit c8fdadd
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 31 deletions.
Binary file modified Images/ApplicationFolder/wpkginst.exe
Binary file not shown.
Binary file modified Images/Setup/WPKGSetup.msi
Binary file not shown.
5 changes: 1 addition & 4 deletions Images/Setup/setup.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
setup /i PATH=PATH FILE=FILE PATHUSER=PATHUSER PATHPASSWORD=PATHPASSWORD EXECUSER=EXECUSER EXECPASSWORD=EXECPASSWORD PARAMETERS=PARAMETERS SILENT=NO
SCRIPTVARNAME1=TOMEK SCRIPTVARVALUE1=EXAMPLEVARIALBE


setup /i /quiet SCRIPTVARNAME1="TOMEK ROMEK i ATOMEK" PATH=PATH FILE=FILE PATHUSER=PATHUSER PATHPASSWORD=PATHPASSWORD EXECUSER=EXECUSER EXECPASSWORD=EXECPASSWORD PARAMETERS="TWO PARAMETERS" SILENT="YES" SCRIPTVARVALUE1="EXAMPLE VARIALBE TEST NUMBER ONE"
Binary file modified Sources/Components/vssver.scc
Binary file not shown.
Binary file added Sources/MainService/WPKGSrv.ncb
Binary file not shown.
Binary file modified Sources/MainService/WPKGSrv.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions Sources/MainService/mssccprj.scc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ SCC = This is a Source Code Control file

[WPKGSrv.sln]
SCC_Aux_Path = "F:\VSSProjects"
SCC_Project_Name = "$/WPKG/MainService", AJAAAAAA
SCC_Project_Name = "$/WPKG/MainService", DLAAAAAA

[WPKGSrv.vcproj]
SCC_Aux_Path = "F:\VSSProjects"
SCC_Project_Name = "$/WPKG/MainService", AJAAAAAA
SCC_Project_Name = "$/WPKG/MainService", DLAAAAAA
Binary file modified Sources/MainService/vssver.scc
Binary file not shown.
Binary file modified Sources/WPKGSetup/WPKGSetup.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions Sources/WPKGSetup/mssccprj.scc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ SCC = This is a Source Code Control file

[WPKGSetup.sln]
SCC_Aux_Path = "F:\VSSProjects"
SCC_Project_Name = "$/WPKG/WPKGSetup", IKAAAAAA
SCC_Project_Name = "$/WPKG/WPKGSetup", INAAAAAA

[WPKGSetup.vdproj]
SCC_Aux_Path = "F:\VSSProjects"
SCC_Project_Name = "$/WPKG/WPKGSetup", IKAAAAAA
SCC_Project_Name = "$/WPKG/WPKGSetup", INAAAAAA
Binary file modified Sources/WPKGSetup/vssver.scc
Binary file not shown.
4 changes: 2 additions & 2 deletions Sources/wpkginst/mssccprj.scc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ SCC = This is a Source Code Control file

[wpkginst.sln]
SCC_Aux_Path = "F:\VSSProjects"
SCC_Project_Name = "$/WPKG/wpkginst", RJAAAAAA
SCC_Project_Name = "$/WPKG/wpkginst", TLAAAAAA

[wpkginst.vcproj]
SCC_Aux_Path = "F:\VSSProjects"
SCC_Project_Name = "$/WPKG/wpkginst", RJAAAAAA
SCC_Project_Name = "$/WPKG/wpkginst", TLAAAAAA
Binary file modified Sources/wpkginst/res/vssver.scc
Binary file not shown.
Binary file modified Sources/wpkginst/vssver.scc
Binary file not shown.
40 changes: 19 additions & 21 deletions Sources/wpkginst/wpkginst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ BOOL CWpkgInstApp::InitInstance()

//TODO: kasowanie = usuñ
//s.DeleteSecret();
//AfxMessageBox(m_lpCmdLine);
/////////////////////////

BOOL bSilent = FALSE;
Expand All @@ -84,29 +85,26 @@ BOOL CWpkgInstApp::InitInstance()
}


if(!bSilent)
if(s.LoadSecret())
{
if(s.LoadSecret())
{
s.m_strScriptPath = param.GetParameter("path");
s.m_strScriptFile = param.GetParameter("file");
if(s.m_strScriptFile.IsEmpty())
s.m_strScriptFile = "wpkg.js";
s.m_strScriptParameters = param.GetParameter("parameters");
if(s.m_strScriptParameters.IsEmpty())
s.m_strScriptParameters = " /synchronize /nonotify /quiet";
s.m_strScriptConnUser = param.GetParameter("PathUser");
s.m_strScriptConnPassword = param.GetParameter("PathPassword");
s.m_strScriptExecUser = param.GetParameter("ExecUser");
if(s.m_strScriptExecUser.IsEmpty())
s.m_strScriptExecUser = "SYSTEM";
s.m_strScriptExecPassword = param.GetParameter("execpassword");
s.m_strScriptVarName1 = param.GetParameter("ScriptVarName1");
s.m_strScriptVarValue1 = param.GetParameter("ScriptVarValue1");

}
s.m_strScriptPath = param.GetParameter("path");
s.m_strScriptFile = param.GetParameter("file");
if(s.m_strScriptFile.IsEmpty())
s.m_strScriptFile = "wpkg.js";
s.m_strScriptParameters = param.GetParameter("parameters");
if(s.m_strScriptParameters.IsEmpty())
s.m_strScriptParameters = " /synchronize /nonotify /quiet";
s.m_strScriptConnUser = param.GetParameter("PathUser");
s.m_strScriptConnPassword = param.GetParameter("PathPassword");
s.m_strScriptExecUser = param.GetParameter("ExecUser");
if(s.m_strScriptExecUser.IsEmpty())
s.m_strScriptExecUser = "SYSTEM";
s.m_strScriptExecPassword = param.GetParameter("execpassword");
s.m_strScriptVarName1 = param.GetParameter("ScriptVarName1");
s.m_strScriptVarValue1 = param.GetParameter("ScriptVarValue1");

}


CWpkgInstDlg dlg;
dlg.m_strScriptPath = s.m_strScriptPath;
Expand Down
Binary file added Sources/wpkginst/wpkginst.ncb
Binary file not shown.
Binary file modified Sources/wpkginst/wpkginst.suo
Binary file not shown.
1 change: 1 addition & 0 deletions Sources/wpkginst/wpkginstDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define new DEBUG_NEW
#endif

#pragma warning(disable : 4996)

// CWpkgInstDlg dialog

Expand Down

0 comments on commit c8fdadd

Please sign in to comment.