programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Deine Frage passt nicht in die anderen Bereiche, dann stelle sie hier.
Antworten
soliver84
Frischling
Frischling
Beiträge: 25
Registriert: 01.02.2018, 02:17

programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von soliver84 » 28.10.2018, 08:57

Hallo,

Ich will einer Installation Windows 7 vorschwindeln es gab da ein Programm das den Windows Info Eintrag für die Installation ändert und wieder zurück wo finde ich das? ich finde es nicht mehr.

mit Microsoft Application Verifier komm ich nicht zu recht, außer jemand weis wies geht

Grüße
Alex

Tante Google

programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von Tante Google » 28.10.2018, 08:57


Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 62490
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 173 Mal
Danke erhalten: 1011 Mal
Gender:

Re: programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von moinmoin » 28.10.2018, 09:42

Über die setup.exe / Eigenschaften -> Kompatibilität geht es nicht?

soliver84
Frischling
Frischling
Beiträge: 25
Registriert: 01.02.2018, 02:17

Re: programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von soliver84 » 28.10.2018, 11:58

Nein das Setup schaut in die regestry. :(. ich kann nur eins machen windows 7 installieren Programm installieren Upgrade auf 10 des will ich mir aber sparen!

Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 62490
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 173 Mal
Danke erhalten: 1011 Mal
Gender:

Re: programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von moinmoin » 28.10.2018, 12:43

:kopfkratz:

Um welches Programm geht es denn eigentlich?
Hast du irgend einen Ansatz wie das Tool hieß, oder von wem?

soliver84
Frischling
Frischling
Beiträge: 25
Registriert: 01.02.2018, 02:17

Re: programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von soliver84 » 28.10.2018, 12:52

HI

es ist ein install4j isnatallations file .exe , installer: https://www.ej-technologies.com/resourc ... c/help.pdf

hab jetzt mal des worums geht decompailiert:

nummer 1:

import com.install4j.api.Util;
import com.install4j.api.actions.InstallAction;
import com.install4j.api.context.InstallerContext;
import com.install4j.runtime.installer.helper.Script;
import com.install4j.runtime.util.PrimitiveWrapper;
import de.volkswagen.odis.singlesetup.installer.PlatformInformation;
import java.util.ArrayList;
import java.util.List;

public class I4jScript_Internal_35
extends Script
{
private static final long serialVersionUID = 1L;

private Object eval(InstallerContext paramInstallerContext, InstallAction paramInstallAction)
throws Exception
{
PlatformInformation localPlatformInformation = new PlatformInformation(paramInstallerContext);
Integer localInteger = (Integer)paramInstallerContext.getVariable("DiagInterfaceActive");
String str1 = (String)paramInstallerContext.getVariable("installation.platform.id");
List localList = localPlatformInformation.getSupportedDiagnosticInterfaces(str1);
if (!Util.isWindows7())
{
localObject = new ArrayList(localList);
((ArrayList)localObject).remove("DIF-VAS5054-OE");
((ArrayList)localObject).remove("DIF-VAS5055-OE");
Util.logInfo(null, "supported devices are (Windows 10)" + localObject);

String str2 = localPlatformInformation.getValue(localInteger.intValue(), (List)localObject);
Util.logInfo(null, "change variable context_device_id to" + str2);
return str2;
}
Util.logInfo(null, "supported devices are (windows 7) " + localList);
Object localObject = localPlatformInformation.getValue(localInteger.intValue(), localList);
Util.logInfo(null, "change variable context_device_id to" + (String)localObject);


return localObject;
}

protected Object evaluate(Object[] paramArrayOfObject)
throws Exception
{
return PrimitiveWrapper.wrap(eval((InstallerContext)paramArrayOfObject[0], (InstallAction)paramArrayOfObject[1]));
}
}

Nummer2:
import com.install4j.api.Util;
import com.install4j.api.context.InstallerContext;
import com.install4j.api.formcomponents.FormEnvironment;
import com.install4j.api.screens.InstallerScreen;
import com.install4j.runtime.installer.helper.Script;
import de.volkswagen.odis.singlesetup.installer.PlatformInformation;
import de.volkswagen.odis.singlesetup.installer.screen.ScpChecker;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.lang.ArrayUtils;

public class I4jScript_Internal_34
extends Script
{
private static final long serialVersionUID = 1L;

private void eval(InstallerContext paramInstallerContext, InstallerScreen paramInstallerScreen, FormEnvironment paramFormEnvironment)
throws Exception
{
ScpChecker.hideCancelButton(paramInstallerContext);

Util.logInfo(null, "translate device names for platform.");
String str = (String)paramInstallerContext.getVariable("installation.platform.id");
Util.logInfo(null, "translate device names for platform <" + str + ">");
PlatformInformation localPlatformInformation = new PlatformInformation(paramInstallerContext);
List localList = localPlatformInformation.getSupportedDiagnosticInterfaces(str);
String[] arrayOfString = localPlatformInformation.translateDeviceNames(str, localList, paramInstallerContext);
if (!Util.isWindows7())
{
Util.logInfo(null, "listDiagInterface before remove" + Arrays.toString(arrayOfString));
Util.logInfo(null, "Windows 10 - don't show VAS 5054 and VAS 5055");
arrayOfString = (String[])ArrayUtils.remove(arrayOfString, 0);
Util.logInfo(null, "VAS 5054 removed");
arrayOfString = (String[])ArrayUtils.remove(arrayOfString, 0);
Util.logInfo(null, "VAS 5055 removed");
Util.logInfo(null, "listDiagInterface after remove" + Arrays.toString(arrayOfString));
paramInstallerContext.setVariable("language.SelectDiagnosticInterface", arrayOfString);
}
else
{
Util.logInfo(null, "Windows 7 - show all diagnostic interfaces");
Util.logInfo(null, "listDiagInterface" + Arrays.toString(arrayOfString));
paramInstallerContext.setVariable("language.SelectDiagnosticInterface", arrayOfString);
}
Util.logInfo(null, "translated device names for platform <" + str + ">" + arrayOfString);
}

protected Object evaluate(Object[] paramArrayOfObject)
throws Exception
{
eval((InstallerContext)paramArrayOfObject[0], (InstallerScreen)paramArrayOfObject[1], (FormEnvironment)paramArrayOfObject[2]);
return null;
}
}

Des ist scheinbar wie er windows Xp erkennt:
import com.install4j.api.Util;
import com.install4j.api.actions.InstallAction;
import com.install4j.api.context.InstallerContext;
import com.install4j.runtime.installer.helper.Script;
import com.install4j.runtime.util.PrimitiveWrapper;
import java.util.MissingResourceException;

public class I4jScript_Internal_2
extends Script
{
private static final long serialVersionUID = 1L;

private boolean eval(InstallerContext paramInstallerContext, InstallAction paramInstallAction)
throws Exception
{
String str1 = null;
String str2 = null;
String[] arrayOfString1 = { "Fortsetzen", "Abbrechen" };
try
{
try
{
str2 = paramInstallerContext.getMessage(paramInstallerContext.getCompilerVariable("sys.shortName"));
arrayOfString1[0] = paramInstallerContext.getMessage("ButtonContinue");
arrayOfString1[1] = paramInstallerContext.getMessage("ButtonCancel");
}
catch (MissingResourceException localMissingResourceException1)
{
str2 = "Offboard Diagnostic Information System Service";
}
String[] arrayOfString2 = { str2, "Windows XP" };
str1 = paramInstallerContext.getMessage("OS_Warning1", arrayOfString2) + paramInstallerContext.getMessage("OS_Warning2", arrayOfString2);
}
catch (MissingResourceException localMissingResourceException2)
{
Util.logInfo("Welcomescreen", " Missing resources");
str1 = "Hello F�r die Verwendung von Offboard Diagnostic Information System Service unter Windows XP\n wird kein Support mehr geleistet.\n";
str1 = str1 + "Wenn Sie Offboard Diagnostic Information System Service unter Windows XP installieren und verwenden,\n";
str1 = str1 + "kann dies zu Fehlfunktionen w�hrend der Diagnose f�hren.";
}
Util.logInfo("Welcomescreen", str1);
int i = Util.showOptionDialog(str1, arrayOfString1, 2);
Util.logInfo("Welcomescreen:", "Userdecision" + (i == 1 ? "CANCEL" : "CONTINUE"));
return i == 0;
}

protected Object evaluate(Object[] paramArrayOfObject)
throws Exception
{
return PrimitiveWrapper.wrap(eval((InstallerContext)paramArrayOfObject[0], (InstallAction)paramArrayOfObject[1]));
}
}

kann man des damit umgehen:
import com.install4j.api.ApplicationRegistry;
import com.install4j.api.ApplicationRegistry.ApplicationInfo;
import com.install4j.api.Util;
import com.install4j.api.context.InstallerContext;
import com.install4j.api.screens.InstallerScreen;
import com.install4j.runtime.installer.helper.Script;
import com.install4j.runtime.util.PrimitiveWrapper;

public class I4jScript_Internal_19
extends Script
{
private static final long serialVersionUID = 1L;

private boolean eval(InstallerContext paramInstallerContext, InstallerScreen paramInstallerScreen)
throws Exception
{
String str1 = paramInstallerContext.getApplicationId();
ApplicationRegistry.ApplicationInfo[] arrayOfApplicationInfo = ApplicationRegistry.getApplicationInfoById(str1);
String str2 = "check for installed ID = " + str1 + " installationcount: " + arrayOfApplicationInfo.length;
boolean bool = false;
if (arrayOfApplicationInfo.length > 0)
{
str2 = str2 + " => installation exists => show info text";
bool = true;
String str3 = paramInstallerContext.getCompilerVariable("sys.shortName");
Boolean localBoolean = Boolean.valueOf(("PRD-ODISEngin".equals(str3)) || ("PRD-ODISEnginProdi".equals(str3)));
if (localBoolean.booleanValue())
{
Util.logInfo(null, "Ignore Install-Check for " + paramInstallerContext.getCompilerVariable("sys.shortName"));
bool = false;
}
}
else
{
str2 = str2 + " => installation not exists => don't show info text";
}
Util.logInfo(null, str2);
return bool;
}

protected Object evaluate(Object[] paramArrayOfObject)
throws Exception
{
return PrimitiveWrapper.wrap(eval((InstallerContext)paramArrayOfObject[0], (InstallerScreen)paramArrayOfObject[1]));
}
}
Zuletzt geändert von soliver84 am 28.10.2018, 13:02, insgesamt 1-mal geändert.

Benutzeravatar
moinmoin
★ Team Admin ★
Beiträge: 62490
Registriert: 14.11.2003, 11:12
Hat sich bedankt: 173 Mal
Danke erhalten: 1011 Mal
Gender:

Re: programm.exe Installation, Windows 7 vorschwindeln es gab ein Programm dafür???

Beitrag von moinmoin » 28.10.2018, 13:02

soliver84 hat geschrieben: 28.10.2018, 11:58 Nein das Setup schaut in die regestry. :(. ich kann nur eins machen windows 7 installieren Programm installieren Upgrade auf 10 des will ich mir aber sparen!
Und in einer VM (Windows 7) installieren und dann die Regeinträge in die 10 übernehmen?

Antworten