📄 stafdeleteregfile.java
字号:
/*****************************************************************************//* Software Testing Automation Framework (STAF) *//* (C) Copyright IBM Corp. 2004, 2005 *//* *//* This software is licensed under the Common Public License (CPL) V1.0. *//*****************************************************************************/import com.installshield.wizard.*;import com.installshield.wizard.service.*;import com.installshield.util.*;import com.installshield.product.service.product.*;import java.io.*;public class STAFDeleteRegFile extends WizardAction{ public void execute(WizardBeanEvent event) { String fileSep = System.getProperty("file.separator"); String regFileName = resolveString("$P(absoluteInstallLocation)") + fileSep + "STAFReg.inf"; File stafRegFile = new File(regFileName); if (stafRegFile.exists()) { stafRegFile.delete(); } // Note: Cannot delete STAFReg.cmp file since it's stored in the // {STAF/DataDir}/registration directory and the {STAF/DataDir} // variable is not available since STAF is not running during it's // un-install. }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -