Advertisement
Guest User

instalador apkaextool

a guest
Apr 18th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Reflection;
  7.  
  8. namespace setupapkaextool
  9. {
  10.     class Program
  11.     {
  12.  
  13.         public static void Pause() { Console.WriteLine("Hit enter to continue."); Console.Read(); }
  14.  
  15.         static void Main(string[] args)
  16.         {
  17.             string installPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
  18.             installPath = installPath.Replace("\\", "\\\\");
  19.             string text = System.IO.File.ReadAllText(@"registrykeys");
  20.             text = text.Replace("F:\\\\ApkAexTool", installPath);
  21.             System.IO.File.WriteAllText(@"install.reg", text);
  22.             Console.WriteLine(text);
  23.             Pause();
  24.             System.Environment.Exit(1);
  25.         }
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement