Aller au contenu principal

MVP Assistant - New 2.0 with Rescue Media Builder (New Version 2.7.6)

Thread needs solution

Ralf, if you can upload the file somewhere and disguise the link in a way that it can be clearly posted, that would help. I really need to see the details of the file to understand what happened. What you are experiencing is not something I've seen before.

Hi Bruno,

I already posted the link. Pastbin is a hoster for text based stuff, but I cannot use hyperlinks in my post.

So please copy&paste this  >> pastebin.com_0PGDdQUY  manually to the browser Replace the "_" with a "/"

Ralf

 

 

Ralf,

After looking at this, I see that I have autoinstall set to yes for the three apps you are curious about... Notepad2, PENetwork and IrfanView.

The proper way to change that is not in the XML. In the Advanced Customization box you should use the checkboxes for Visible, Optional and Install by Default.

You have app entries for just about all the apps in your file, but really there should only be entries for apps you really need to change, which in your case appears to only be PENetwork because you want to delete that file (which I still need to look into).

Note the <Order> section of the app list file has all the overrides for the visible, optional and autoinstall values and these are taken from the checkboxes.

I suggest just getting rid of that user app list file and starting over. In Advanced Customization just use the checkboxes. Then once you have all the apps right you could run a build.

As for why it installed the apps a second time, I can see that when you first mounted the image it installed them. I'm not sure of the exact sequence of your editing while the project was open so I don't exactly know what happened but I'll see if I can fix the code anyway.

Ralf,

I've done more testing and think I've got it all understood.

First, as to the extra buttons at the left part of the launch bar... to fix this if you are still having this problem... uninstall the application, commit the changes to the image, then select Project/Open last project. This will actually close and reopen the project and recheck the applications. I have to fix my code, but at least this should solve the issue.

Next, to replace the PENetwork.ini file, you can simply copy your new PENetwork.ini file into the PENetwork folder. You do not need to change the downloaded zip file. The new XML below will install the program and then install your new PENetwork.ini to replace the original.

And finally, to delete the file change the <BootCommand> as below.

Here is the correct PENetwork replacement.

  <App name="PENetwork" description="PE Network" autoinstall="no" optional="yes" visible="yes">
    <Source filename="PENetwork_x64.7z" url="https://www.penetworkmanager.de/scripts/PENetwork_x64.7z" />
    <Source filename="PENetwork.ini" />
    <Install>
      <Zip source="PENetwork_x64.7z" />
      <File source="PENetwork.ini"/>    
      <LaunchButton name="PENetwork" command="%ProgramFiles%\PENetwork\PENetwork.exe" args="" iconfile="" iconindex="" />
      <BootCommand command="cmd" args="/c del X:\Windows\SysWOW64\CredentialUIBroker.exe" />
    </Install>
    <Uninstall>
      <DeleteProgramFolder />
    </Uninstall>
  </App>

 

Hi Bruno,

with your help I was finally able to create a RescueMedia that works/looks like expected  THX :)

I don't know if overdone it, but I have created a new app with a different app name like  "7-Zip" to "7-Zip_2301" for each app that I need to change the xml code and imported them after disabling the default app via checkbox. In my thinking this avoids any conflicts with the existing default apps. I didn't encounter any problems so far....

Deleting CredentialUIBroker.exe works. I even got PENetwork to autostart with loading the right profile and autoconnecting the network shares on startup.

for interest:  pastebin.com / 5PACNDTc

Ralf

 

 

 

Ralf, yes you have overdone it. Please do not change the app name. I am sure it will lead to trouble.

I have found the bug in my code which caused there to be an extra Launch Bar button for apps that you changed. But until the next release you should be able to avoid the problem as I mentioned earlier. Or, live with the extra button. I'm hoping to release the next version relatively soon.

Hi Bruno,

thx for the help & info. Looking forward to the new version...

Ralf